Public Member Functions | Protected Member Functions | Private Attributes | List of all members
daqdataformats::RawNanoSliceHeader Class Reference

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

Inheritance diagram for daqdataformats::RawNanoSliceHeader:

Public Member Functions

 RawNanoSliceHeader (const version_t version=CURRENT_FIELDS_SUB_NAMESPACE::RAWNANOSLICE_DEFAULT_VERSION)
 After this constructor the buffer pointer is set to the internal source. More...
 
 RawNanoSliceHeader (const daqdataformats::NanoSliceHeader &Header)
 The default constructor. More...
 
 RawNanoSliceHeader (const RawNanoSliceHeader &copy_in)
 Constructor with Data initialization. More...
 
 RawNanoSliceHeader (const void *buffer, const version_t version=rawdaqdataformat::DAQDATAFORMAT_UNKNOWN_VERSION)
 Deep copy constructor. More...
 
 ~RawNanoSliceHeader ()
 Destructor. More...
 

Protected Member Functions

void initWithDataInternal ()
 
bool setFunctionPointers ()
 

Private Attributes

NanoSliceHeader_nanosliceHeader
 

Detailed Description

Definition at line 27 of file RawNanoSliceHeader.h.

Constructor & Destructor Documentation

daqdataformats::RawNanoSliceHeader::RawNanoSliceHeader ( const version_t  version = CURRENT_FIELDS_SUB_NAMESPACE::RAWNANOSLICE_DEFAULT_VERSION)

After this constructor the buffer pointer is set to the internal source.

Apply the default constructor

Definition at line 22 of file RawNanoSliceHeader.cpp.

22  :
23  PREVIOUS_VERSION_CLASS_NAME(version)
24  ,_nanosliceHeader(NULL)
25 {
26  INITIALIZE_DEBUGGING_VARIABLES;
27  /// Apply the default constructor
28  defaultConstructorFixedSize();
29 }
const XML_Char * version
Definition: expat.h:187
daqdataformats::RawNanoSliceHeader::RawNanoSliceHeader ( const daqdataformats::NanoSliceHeader Header)

The default constructor.

After this constructor the buffer pointer is set to the internal source.

Now, apply the default constructor, passing function pointer to initWithData

Definition at line 33 of file RawNanoSliceHeader.cpp.

References init_t, and initWithDataInternal().

33  :
34  PREVIOUS_VERSION_CLASS_NAME(header.Version)
35  ,_nanosliceHeader((NanoSliceHeader*)&(header))
36 {
37  INITIALIZE_DEBUGGING_VARIABLES;
38  /// Now, apply the default constructor, passing function pointer to initWithData
39  defaultConstructorFixedSize((init_t)&RawNanoSliceHeader::initWithDataInternal);
40 }
#define init_t
Definition: FunctionBind.h:29
daqdataformats::RawNanoSliceHeader::RawNanoSliceHeader ( const RawNanoSliceHeader copy_in)

Constructor with Data initialization.

Definition at line 46 of file RawNanoSliceHeader.cpp.

46  :
47  PREVIOUS_VERSION_CLASS_NAME(copy_in)
48  ,_nanosliceHeader(NULL)
49 {
50  INITIALIZE_DEBUGGING_VARIABLES;
51  lastOperationsInDeepCopy(copy_in);
52 }
daqdataformats::RawNanoSliceHeader::RawNanoSliceHeader ( const void buffer,
const version_t  version = rawdaqdataformat::DAQDATAFORMAT_UNKNOWN_VERSION 
)

Deep copy constructor.

Use default Shallow copy constructor

Definition at line 56 of file RawNanoSliceHeader.cpp.

56  :
57  PREVIOUS_VERSION_CLASS_NAME(version)
58  ,_nanosliceHeader(NULL)
59 {
60  /// Use default Shallow copy constructor
61  copy(nanosliceheader_buffer);
62 }
const XML_Char * version
Definition: expat.h:187
daqdataformats::RawNanoSliceHeader::~RawNanoSliceHeader ( )

Destructor.

Definition at line 65 of file RawNanoSliceHeader.cpp.

65 { }

Member Function Documentation

void daqdataformats::RawNanoSliceHeader::initWithDataInternal ( )
protected

Definition at line 43 of file RawNanoSliceHeader.cpp.

References _nanosliceHeader.

Referenced by RawNanoSliceHeader().

43 { initWithData(*_nanosliceHeader);}
bool daqdataformats::RawNanoSliceHeader::setFunctionPointers ( )
protected

Member Data Documentation

NanoSliceHeader* daqdataformats::RawNanoSliceHeader::_nanosliceHeader
private

Pointer to NanoSlice Header parameters used in init when using Constructor with Data initialization only. After that this variable is irrelevant

Definition at line 74 of file RawNanoSliceHeader.h.

Referenced by initWithDataInternal().


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