casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
asdm::PartId Class Reference

description More...

#include <PartId.h>

Public Member Functions

 PartId ()
 PartId constructors. More...
 
 PartId (const PartId &)
 
 PartId (const std::string &id) throw (InvalidArgumentException)
 
virtual ~PartId ()
 PartId destructor. More...
 
bool equals (const PartId &) const
 
std::string toString () const
 
void setId (const std::string &s) throw (InvalidArgumentException)
 
void toBin (EndianOSStream &eoss) const
 Write the binary representation of this to a EndianOSStream. More...
 

Static Public Member Functions

static std::string validate (std::string x)
 
static PartId fromBin (EndianIStream &eis)
 Read the binary representation of a PartId from a EndianIStream and use the read value to set an PartId. More...
 

Private Attributes

std::string id
 

Detailed Description

description

Version
1.00 Jan. 7, 2005
Author
Allen Farris

Definition at line 44 of file PartId.h.

Constructor & Destructor Documentation

asdm::PartId::PartId ( )
inline

PartId constructors.

Definition at line 79 of file PartId.h.

asdm::PartId::PartId ( const PartId x)
inline

Definition at line 81 of file PartId.h.

asdm::PartId::PartId ( const std::string &  id)
throw (InvalidArgumentException
)
asdm::PartId::~PartId ( )
inlinevirtual

PartId destructor.

Definition at line 84 of file PartId.h.

Member Function Documentation

bool asdm::PartId::equals ( const PartId x) const
inline

Definition at line 86 of file PartId.h.

References id.

static PartId asdm::PartId::fromBin ( EndianIStream eis)
static

Read the binary representation of a PartId from a EndianIStream and use the read value to set an PartId.

Parameters
eisthe EndianStream to be read
Returns
a PartId
Exceptions
InvalidArgumentException
void asdm::PartId::setId ( const std::string &  s)
throw (InvalidArgumentException
)
void asdm::PartId::toBin ( EndianOSStream eoss) const

Write the binary representation of this to a EndianOSStream.

std::string asdm::PartId::toString ( ) const
inline

Definition at line 90 of file PartId.h.

References id.

static std::string asdm::PartId::validate ( std::string  x)
static

Member Data Documentation

std::string asdm::PartId::id
private

Definition at line 74 of file PartId.h.

Referenced by equals(), and toString().


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