casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Member Functions | Private Attributes
asdm::PartId Class Reference

description More...

#include <PartId.h>

List of all members.

Public Member Functions

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

Static Public Member Functions

static string validate (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.
static string validate (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.

Private Attributes

string id

Detailed Description

description

Version:
1.00 Jan. 7, 2005
Author:
Allen Farris

Definition at line 48 of file PartId.h.


Constructor & Destructor Documentation

asdm::PartId::PartId ( ) [inline]

PartId constructors.

Definition at line 83 of file PartId.h.

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

Definition at line 85 of file PartId.h.

asdm::PartId::PartId ( const string &  id) throw (InvalidArgumentException)
asdm::PartId::~PartId ( ) [inline, virtual]

PartId destructor.

Definition at line 88 of file PartId.h.

asdm::PartId::PartId ( const string &  id) throw (InvalidArgumentException)
virtual asdm::PartId::~PartId ( ) [virtual]

Member Function Documentation

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

Definition at line 90 of file PartId.h.

References id.

bool asdm::PartId::equals ( const PartId ) const
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
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 string &  s) throw (InvalidArgumentException)
void asdm::PartId::setId ( const string &  s) throw (InvalidArgumentException)
void asdm::PartId::toBin ( EndianOSStream eoss) const

Write the binary representation of this to a EndianOSStream.

void asdm::PartId::toBin ( EndianOSStream eoss) const

Write the binary representation of this to a EndianOSStream.

string asdm::PartId::toString ( ) const
string asdm::PartId::toString ( ) const [inline]

Definition at line 94 of file PartId.h.

References id.

static string asdm::PartId::validate ( string  x) [static]
static string asdm::PartId::validate ( string  x) [static]

Member Data Documentation

string asdm::PartId::id [private]

Definition at line 78 of file PartId.h.

Referenced by equals(), and toString().


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