RVC::BINARY Class Reference

Manages RVC::OBJTYPE_GenericRef RVC objects. More...

#include <rvc/binary.h>

Inheritance diagram for RVC::BINARY:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BINARY (const RVC::BINARY &obj)
 BINARY ()
bool IsInverted () const
ERRVALUE Make (const RVC::OBJITEM &ObjItem, const char *Source=0)
ERRVALUE Make (const RVC::OBJECT &parent, const RVC::OBJECTNAME &name, const RVC::OBJECTDESC &desc, const char *Source=0)
RVC::BINARYoperator= (const RVC::BINARY &rhs)
ERRVALUE Read (SIMPLE_ARRAY< UINT8 > &data) const
ERRVALUE Write (const void *const data, INT32 NumBytes)
ERRVALUE Write (const SIMPLE_ARRAY< UINT8 > &data)
virtual ~BINARY ()

Protected Member Functions

ERRVALUE Make (const OBJECT &parent, const OBJECTNAME &name, const OBJECTDESC &desc, RVCGENINFO &newinfo, int HeaderSize, int HeaderType, const char *Source)

Detailed Description

Manages RVC::OBJTYPE_GenericRef RVC objects.

This class inherits from RVC::OBJECT

RVC Object Types that this class supports: RVC::OBJTYPE_GenericRef.

Default RVC Object Type for this class: RVC::OBJTYPE_GenericRef.

Valid parents for this class:

Definition at line 68 of file binary.h.


Constructor & Destructor Documentation

RVC::BINARY::BINARY  ) 
 

Default constructor.

RVC::BINARY::BINARY const RVC::BINARY obj  ) 
 

Copy constructor.

virtual RVC::BINARY::~BINARY  )  [virtual]
 

Destructor.


Member Function Documentation

bool RVC::BINARY::IsInverted  )  const
 

Determine whether or not object is byte order inverted.

Returns:
"True' if the object need to be inverted (SwapBytes())

ERRVALUE RVC::BINARY::Make const OBJECT parent,
const OBJECTNAME name,
const OBJECTDESC desc,
RVCGENINFO newinfo,
int  HeaderSize,
int  HeaderType,
const char *  Source
[protected]
 

Used for objects that inherit from this object.

ERRVALUE RVC::BINARY::Make const RVC::OBJITEM ObjItem,
const char *  Source = 0
 

Make a child rvc binary object from a given RVCOBJITEM.

Reimplemented in RVC::ICMPROFILE.

ERRVALUE RVC::BINARY::Make const RVC::OBJECT parent,
const RVC::OBJECTNAME name,
const RVC::OBJECTDESC desc,
const char *  Source = 0
 

Make a child rvc binary object from a given parent with a name and description.

Reimplemented in RVC::ICMPROFILE.

RVC::BINARY& RVC::BINARY::operator= const RVC::BINARY rhs  ) 
 

Assignment.

ERRVALUE RVC::BINARY::Read SIMPLE_ARRAY< UINT8 > &  data  )  const
 

Read binary object into a simple array.

ERRVALUE RVC::BINARY::Write const void *const   data,
INT32  NumBytes
 

Write binary object from a void pointer and number of bytes Will overwrite existing data and resize object to 'NumBytes'.

ERRVALUE RVC::BINARY::Write const SIMPLE_ARRAY< UINT8 > &  data  ) 
 

Write binary object from a simple array Will overwrite existing data and resize object to 'data.GetNumItems()'.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:21:10 2004 for TNTsdk by  doxygen 1.3.8-20040913