bpipexx  1.0.6_01
 All Classes Functions Pages
SAOTrace::BPipeX::HdrF< T > Struct Template Reference

#include <bpipexx/bpipexx.h>

+ Collaboration diagram for SAOTrace::BPipeX::HdrF< T >:

Public Member Functions

 HdrF (const char *cname, T idatum)
 Construct a scalar field with the given name, data, and type. More...
 
T * data ()
 Return a pointer to the data. More...
 

Public Attributes

string name
 
BPMatrix * matrix
 
BPDataType BPT
 
datum
 
bool copy
 

Detailed Description

template<typename T>
struct SAOTrace::BPipeX::HdrF< T >

A simple structure to hold information about a bpipe header field. Note that the existing constructors set the matrix field to NULL.

Template Parameters
TThe storage type of the data. This is one of the intrinsic types and structures supported by the bpipe library.

Constructor & Destructor Documentation

template<typename T>
SAOTrace::BPipeX::HdrF< T >::HdrF ( const char *  cname,
idatum 
)

Construct a scalar field with the given name, data, and type.

Template Parameters
TThe storage type of the data. This is one of the intrinsic types and structures supported by the bpipe library.
Parameters
[in]cnameThe name of the field.
[in]idatumThe data to store. This is copied.

Member Function Documentation

template<typename T>
T* SAOTrace::BPipeX::HdrF< T >::data ( )
inline

Return a pointer to the data.

Returns
a pointer to the copy of the data

Referenced by SAOTrace::BPipeX::Simple::add().


The documentation for this struct was generated from the following file: