#include <IccTagBasic.h>
Inheritance diagram for CIccTagNum< T, Tsig >:
Public Member Functions | |
CIccTagNum (int nSize=1) | |
CIccTagNum (const CIccTagNum &ITNum) | |
CIccTagNum & | operator= (const CIccTagNum &NumTag) |
virtual CIccTag * | NewCopy () |
virtual | ~CIccTagNum () |
virtual bool | IsArrayType () |
virtual icTagTypeSignature | GetType () |
virtual const icChar * | GetClassName () |
virtual void | Describe (std::string &sDescription) |
virtual bool | Read (icUInt32Number size, CIccIO *pIO) |
virtual bool | Write (CIccIO *pIO) |
T & | operator[] (icUInt32Number index) |
icUInt32Number | GetSize () const |
Returns the size of the data array. | |
void | SetSize (icUInt32Number nSize, bool bZeroNew=true) |
Protected Attributes | |
T * | m_Num |
icUInt32Number | m_nSize |
Purpose: A template class for arrays of integers
Derived Tags: CIccTagUInt8, CIccTagUInt16, CIccTagUInt32 and CIccTagUInt64
|
Name: CIccTagNum::CIccTagNum Purpose: Constructor Args: nSize = number of data entries |
|
Name: CIccTagNum::CIccTagNum Purpose: Copy Constructor Args: ITNum = The CIccTagNum object to be copied |
|
Name: CIccTagNum::~CIccTagNum Purpose: Destructor |
|
Name: CIccTagNum::Describe Purpose: Dump data associated with the tag to a string Args: sDescription - string to concatenate tag dump to Reimplemented from CIccTag. |
|
Name: CIccTagNum::GetClassName Purpose: Returns the tag type class name Reimplemented from CIccTag. |
|
Returns the size of the data array.
|
|
Function: GetType() Purpose: Get Tag Type. Each derived tag will implement it's own GetType() function. Reimplemented from CIccTag. |
|
Reimplemented from CIccTag. |
|
|
|
Name: CIccTagNum::operator= Purpose: Copy Operator Args: ITNum = The CIccTagNum object to be copied |
|
|
|
Name: CIccTagNum::Read Purpose: Read in the tag contents into a data block Args: size - # of bytes in tag, pIO - IO object to read tag from Return: true = successful, false = failure Reimplemented from CIccTag. |
|
Name: CIccTagNum::SetSize Purpose: Sets the size of the data array. Args: nSize - number of data entries, bZeroNew - flag to zero newly formed values |
|
Name: CIccTagNum::Write Purpose: Write the tag to a file Args: pIO - The IO object to write tag to. Return: true = succesful, false = failure Reimplemented from CIccTag. |
|
|
|
|