asdm::Entity Class Reference

#include <Entity.h>

List of all members.


Detailed Description

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

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


Public Member Functions

 Entity (const string &s)
 Entity (IDLEntity &)
 Entity (string entityId, string entityIdEncrypted, string entityTypeName, string entityVersion, string instanceVersion)
bool operator== (const Entity &) const
bool equals (const Entity &) const
bool operator!= (const Entity &) const
bool isNull () const
string toString () const
string toXML () const throw (InvalidDataException)
IDLEntity toIDLEntity () const
void setFromXML (string xml) throw (InvalidArgumentException)
void toBin (EndianOSStream &eoss)
EntityId getEntityId () const
string getEntityIdEncrypted () const
string getEntityTypeName () const
string getEntityVersion () const
string getInstanceVersion () const
void setEntityId (EntityId e)
void setEntityIdEncrypted (string s)
void setEntityTypeName (string s)
void setEntityVersion (string s)
void setInstanceVersion (string s)

Static Public Member Functions

static Entity getEntity (StringTokenizer &t) throw (InvalidArgumentException)
static Entity fromBin (EndianISStream &eiss)

Friends

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


Member Function Documentation

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

Write the binary representation of this to a EndianOSStream.

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

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

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


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