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

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

Friends

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


Member Function Documentation

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

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

Write the binary representation of this to a EndianOSStream.


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 17:43:45 2008 for ASDM C++ Implementation by doxygen 1.3.8