My Project
Public Member Functions | Friends
UInt4Container Class Reference

vector<UInt4> container with their name tag. More...

#include <UInt4Container.hh>

List of all members.

Public Member Functions

 UInt4Container (HeaderBase *Header)
 UInt4Container (const UInt4Container &ob)
UInt4Container operator= (const UInt4Container &ob)
UInt4 PutTableSize ()
UInt4 PutSize ()
UInt4 PutTableSizeDouble ()
UInt4 PutSizeDouble ()
UInt4 PutSize (UInt4 IndexNumber)
UInt4 PutSize (string Key)
UInt4 PutSizeDouble (UInt4 IndexNumber)
UInt4 PutSizeDouble (string Key)
UInt4 PutIndexNumber (string Key)
UInt4 PutIndexNumberDouble (string Key)
string PutName (UInt4 IndexNumber)
string PutNameDouble (UInt4 IndexNumber)
HeaderBase PutHeader ()
HeaderBasePutHeaderPointer ()
void InputHeader (HeaderBase Header)
void Reverse (void)
 reverse all std::vector
void DumpKey ()
void Dump ()
void DumpValue ()
void DumpFromVectorContainer ()
void DumpFromVectorContainer (UInt4 size)
void Dump (UInt4 size)
void DumpValue (UInt4 size)
void Add (string Key, vector< UInt4 > value)
void Add (string Key, PyObject *value)
void Add (string Key, UInt4 *&Array, UInt4 ArraySize)
void AddDouble (string Key, vector< Double > value)
void AddDouble (string Key, PyObject *value)
void AddDouble (string Key, Double *&Array, UInt4 ArraySize)
vector< UInt4 > Put (UInt4 IndexNumber)
vector< Double > PutDouble (UInt4 IndexNumber)
vector< UInt4 > Put (string Key)
vector< Double > PutDouble (string Key)
UInt4 Put (string Key, UInt4 Index)
Double PutDouble (string Key, UInt4 Index)
PyObject * PutList (string Key)
PyObject * PutListDouble (string Key)
UInt4 CheckKey (string Key)
UInt4 CheckKeyDouble (string Key)
string PutMergedKey ()
string PutMergedKeyDouble ()
vector< UInt4 > PutSizeVector ()
vector< UInt4 > PutSizeVectorDouble ()
vector< UInt4 > PutMergedDataVector ()
vector< Double > PutMergedDataVectorDouble ()
void MakeContainer (string MergedKey, vector< UInt4 > SizeVector, vector< UInt4 > MergedDataVector, HeaderBase h)
void MakeContainer (string MergedKey, vector< UInt4 > SizeVector, vector< UInt4 > MergedDataVector, string MergedKeyDouble, vector< UInt4 > SizeVectorDouble, vector< Double > MergedDataVectorDouble, HeaderBase h)
vector< UInt4 > * operator[] (string Key)
vector< UInt4 > * operator[] (UInt4 index)
vector< UInt4 > * operator() (string Key)
vector< UInt4 > * operator() (UInt4 index)
ElementContainer ConvertIntoElementContainer ()
UInt4Containeroperator+= (const UInt4Container &r)
 dummy code to avoid NeutronVector::operator+=()
UInt4Containeroperator-= (const UInt4Container &r)
 dummy code to avoid NeutronVector::operator-=()
UInt4Containeroperator*= (const UInt4Container &r)
 dummy code to avoid NeutronVector::operator*=()
UInt4Containeroperator/= (const UInt4Container &r)
 dummy code to avoid NeutronVector::operator/=()
UInt4Container operator+ (UInt4Container &r)
 dummy code to avoid NeutronVector::operator+()
UInt4Container operator- (UInt4Container &r)
 dummy code to avoid NeutronVector::operator-()
UInt4Container operator* (UInt4Container &r)
 dummy code to avoid NeutronVector::operator*()
UInt4Container operator/ (UInt4Container &r)
 dummy code to avoid NeutronVector::operator/()

Friends

class boost::serialization::access
class WriteNeXusFile
class ReadNeXusFile

Detailed Description

vector<UInt4> container with their name tag.

This class is data container class like "ElementContainer". Functionalities of class methods in this class is similar to the methods of "ElementContainer". See the manual of "ElementContainer".


Member Function Documentation

The contents stored in this class is comverted into the class object of ElementContainer.

void UInt4Container::MakeContainer ( string  MergedKey,
vector< UInt4 >  SizeVector,
vector< UInt4 >  MergedDataVector,
HeaderBase  h 
)

The object of HeaderBase, the fourth argument, will be deleted in this function. If the object extracted with "PutHeader()" is installed with this function, you should copy it before use this function.

void UInt4Container::MakeContainer ( string  MergedKey,
vector< UInt4 >  SizeVector,
vector< UInt4 >  MergedDataVector,
string  MergedKeyDouble,
vector< UInt4 >  SizeVectorDouble,
vector< Double >  MergedDataVectorDouble,
HeaderBase  h 
)

This method will be used from the outside of this class.

vector< UInt4 > * UInt4Container::operator() ( string  Key)

This operator returns the pointer of vector<UInt4> whose name is "Key".

vector< UInt4 > * UInt4Container::operator() ( UInt4  index)

This operator returns the pointer of vector<UInt4> whose index-number is "index".

vector< UInt4 > * UInt4Container::operator[] ( string  Key)

This operator returns the pointer of vector<UInt4> whose name is "Key".

vector< UInt4 > * UInt4Container::operator[] ( UInt4  index)

This operator returns the pointer of vector<UInt4> whose index-number is "index".


The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends