asdm::EntityRef Class Reference

#include <EntityRef.h>

List of all members.


Detailed Description

The EntityRef class is an identification of a persistant entity in the ALMA archive. It easily maps onto an EntityRefT object in ACS system entities.

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


Public Member Functions

 EntityRef (const string &s)
 EntityRef (IDLEntityRef &)
 EntityRef (string entityId, string partId, string entityTypeName, string instanceVersion)
bool operator== (const EntityRef &) const
bool equals (const EntityRef &) const
bool operator!= (const EntityRef &) const
bool isNull () const
string toString () const
string toXML () const throw (InvalidDataException)
IDLEntityRef toIDLEntityRef () const
void setFromXML (string xml) throw (InvalidArgumentException)
void toBin (EndianOSStream &eoss)
EntityId getEntityId () const
PartId getPartId () const
string getEntityTypeName () const
string getInstanceVersion () const
void setEntityId (EntityId e)
void setPartId (PartId s)
void setEntityTypeName (string s)
void setInstanceVersion (string s)

Static Public Member Functions

static EntityRef getEntityRef (StringTokenizer &t) throw (InvalidArgumentException)
static EntityRef fromBin (EndianISStream &eiss)

Friends

ostream & operator<< (ostream &, const EntityRef &)
istream & operator>> (istream &, EntityRef &)


Member Function Documentation

void asdm::EntityRef::toBin ( EndianOSStream &  eoss  ) 

Write the binary representation of this to a EndianOSStream.

static EntityRef asdm::EntityRef::fromBin ( EndianISStream &  eiss  )  [static]

Read the binary representation of an EntityRef from a EndianISStream and use the read value to set an EntityRef.

Parameters:
eiss the EndianStream to be read
Returns:
an EntityRef


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:46:49 2007 for ASDM C++ Implementation by  doxygen 1.5.1