WebLVC 1.7d API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
MAKVrExchange::DtVariableLengthData Class Reference

Represents variable length byte arrays. More...

Public Member Functions

 DtVariableLengthData ()
 Default CTOR. More...
 
 DtVariableLengthData (const char *data, unsigned int size)
 CTOR. More...
 
 DtVariableLengthData (const DtVariableLengthData &other)
 Copy CTOR. More...
 
 ~DtVariableLengthData ()
 DTOR. More...
 
DtVariableLengthDataoperator= (const DtVariableLengthData &other)
 Assignment Operator. More...
 
void setData (const char *data, unsigned int size)
 sets the data More...
 
const char * data () const
 Returns the data for this class. More...
 
const unsigned int size () const
 Returns the number of bytes stored in this class. More...
 
virtual std::ostream & printDataToStream (std::ostream &stream) const
 Prints the byte array to a stream in hex. More...
 
Comparison Operators.
bool operator== (const DtVariableLengthData &other) const
 
bool operator!= (const DtVariableLengthData &other) const
 
Data Exchange Attributes
 DtDEC_ATTRIBUTE (std::vector< char >, DataArray, dataArray)
 

Detailed Description

Represents variable length byte arrays.

Constructor & Destructor Documentation

MAKVrExchange::DtVariableLengthData::DtVariableLengthData ( )

Default CTOR.

MAKVrExchange::DtVariableLengthData::DtVariableLengthData ( const char *  data,
unsigned int  size 
)

CTOR.

Takes memory pointer and size, and copies into local storage.

MAKVrExchange::DtVariableLengthData::DtVariableLengthData ( const DtVariableLengthData other)

Copy CTOR.

MAKVrExchange::DtVariableLengthData::~DtVariableLengthData ( )

DTOR.

Member Function Documentation

const char* MAKVrExchange::DtVariableLengthData::data ( ) const

Returns the data for this class.

MAKVrExchange::DtVariableLengthData::DtDEC_ATTRIBUTE ( std::vector< char >  ,
DataArray  ,
dataArray   
)
bool MAKVrExchange::DtVariableLengthData::operator!= ( const DtVariableLengthData other) const
DtVariableLengthData& MAKVrExchange::DtVariableLengthData::operator= ( const DtVariableLengthData other)

Assignment Operator.

bool MAKVrExchange::DtVariableLengthData::operator== ( const DtVariableLengthData other) const
virtual std::ostream& MAKVrExchange::DtVariableLengthData::printDataToStream ( std::ostream &  stream) const
virtual

Prints the byte array to a stream in hex.

void MAKVrExchange::DtVariableLengthData::setData ( const char *  data,
unsigned int  size 
)

sets the data

const unsigned int MAKVrExchange::DtVariableLengthData::size ( ) const

Returns the number of bytes stored in this class.


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

Document ID: Generated on Wed Jun 21 15:05:44 EDT 2023 from SVN revision 256253
Copyright © 2005-2023 MAK Technologies. All Rights Reserved (www.mak.com)