Public Member Functions | Protected Member Functions | Friends | List of all members
daqdataformats::RawMicroSliceHeader Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/DAQDataFormats/cxx/include/RawMicroSliceHeader.h"

Inheritance diagram for daqdataformats::RawMicroSliceHeader:

Public Member Functions

 RawMicroSliceHeader (const version_t version=CURRENT_FIELDS_SUB_NAMESPACE::RAWMICROSLICE_DEFAULT_VERSION)
 Constructors. More...
 
 RawMicroSliceHeader (const RawMicroSliceHeader &)
 ! The default constructor More...
 
 RawMicroSliceHeader (const void *microsliceheader_buffer, const version_t version=rawdaqdataformat::DAQDATAFORMAT_UNKNOWN_VERSION)
 ! Deep copy constructor More...
 
 ~RawMicroSliceHeader ()
 Destructor. More...
 
 IMPLEMENT_GET_AND_SET_MAIN (Extra, uint32_t)
 
 IMPLEMENT_GET_AND_SET_MAIN (Status, uint32_t)
 
bool setVersion (const version_t)
 

Protected Member Functions

bool setFunctionPointers ()
 
bool setVersionSoft (const version_t)
 Don't change the field. More...
 

Friends

class RawMicroSlice
 

Detailed Description

Definition at line 31 of file RawMicroSliceHeader.h.

Constructor & Destructor Documentation

daqdataformats::RawMicroSliceHeader::RawMicroSliceHeader ( const version_t  version = CURRENT_FIELDS_SUB_NAMESPACE::RAWMICROSLICE_DEFAULT_VERSION)

Constructors.

Apply the default constructor

Definition at line 22 of file RawMicroSliceHeader.cpp.

References sizeofdata_t.

22  :
23  PREVIOUS_VERSION_CLASS_NAME(version)
24 {
25  _function_sizeofdata = (sizeofdata_t) &RawMicroSliceHeader::sizeofdata;
26  INITIALIZE_DEBUGGING_VARIABLES;
27  /// Apply the default constructor
28  defaultConstructorFixedSize();
29 }
#define sizeofdata_t
Definition: FunctionBind.h:30
const XML_Char * version
Definition: expat.h:187
daqdataformats::RawMicroSliceHeader::RawMicroSliceHeader ( const RawMicroSliceHeader copy_in)

! The default constructor

Definition at line 32 of file RawMicroSliceHeader.cpp.

32  :
33  PREVIOUS_VERSION_CLASS_NAME(copy_in)
34 {
35  INITIALIZE_DEBUGGING_VARIABLES;
36  lastOperationsInDeepCopy(copy_in);
37 }
daqdataformats::RawMicroSliceHeader::RawMicroSliceHeader ( const void microsliceheader_buffer,
const version_t  version = rawdaqdataformat::DAQDATAFORMAT_UNKNOWN_VERSION 
)

! Deep copy constructor

Definition at line 40 of file RawMicroSliceHeader.cpp.

References sizeofdata_t.

40  :
41  PREVIOUS_VERSION_CLASS_NAME(version)
42 {
43  _function_sizeofdata = (sizeofdata_t) &RawMicroSliceHeader::sizeofdata;
44  copy(microsliceheader_buffer);
45 }
#define sizeofdata_t
Definition: FunctionBind.h:30
const XML_Char * version
Definition: expat.h:187
daqdataformats::RawMicroSliceHeader::~RawMicroSliceHeader ( )

Destructor.

! Shallow copy constructor

Definition at line 49 of file RawMicroSliceHeader.cpp.

49 { }

Member Function Documentation

daqdataformats::RawMicroSliceHeader::IMPLEMENT_GET_AND_SET_MAIN ( Extra  ,
uint32_t   
)
daqdataformats::RawMicroSliceHeader::IMPLEMENT_GET_AND_SET_MAIN ( Status  ,
uint32_t   
)
bool daqdataformats::RawMicroSliceHeader::setFunctionPointers ( )
protected

Referenced by setVersion(), and setVersionSoft().

bool daqdataformats::RawMicroSliceHeader::setVersion ( const version_t  ver)

Definition at line 52 of file RawMicroSliceHeader.cpp.

References samweb_client.client::_version, daqdataformats::rawdaqdataformat::DAQDATAFORMAT_UNKNOWN_VERSION, and setFunctionPointers().

53  {
54 
56  version0::RawMicroSliceHeader::setVersion(ver);
57  _version = ver;
58  return setFunctionPointers();
59  }
60 
61  _version = ver;
62  return true;
63  }
static const version_t DAQDATAFORMAT_UNKNOWN_VERSION
Definition: RawDAQData.h:81
bool daqdataformats::RawMicroSliceHeader::setVersionSoft ( const version_t  ver)
protected

Friends And Related Function Documentation

friend class RawMicroSlice
friend

Definition at line 54 of file RawMicroSliceHeader.h.


The documentation for this class was generated from the following files: