casa
$Rev:20696$
|
The Entity class is an identification of a persistant entity in the ALMA archive. More...
#include <Entity.h>
Public Member Functions | |
Entity () | |
Entity (const string &s) | |
Entity (IDLEntity &) | |
Entity (string entityId, string entityIdEncrypted, string entityTypeName, string entityVersion, string instanceVersion) | |
virtual | ~Entity () |
bool | operator== (const Entity &) const |
bool | equals (const Entity &) const |
bool | operator!= (const Entity &) const |
bool | isNull () const |
string | toString () const |
string | toXML () const |
IDLEntity | toIDLEntity () const |
void | setFromXML (string xml) |
void | toBin (EndianOSStream &eoss) const |
Write the binary representation of this to a EndianOSStream. | |
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) |
Entity () | |
Entity (const string &s) | |
Entity (IDLEntity &) | |
Entity (string entityId, string entityIdEncrypted, string entityTypeName, string entityVersion, string instanceVersion) | |
virtual | ~Entity () |
bool | operator== (const Entity &) const |
bool | equals (const Entity &) const |
bool | operator!= (const Entity &) const |
bool | isNull () const |
string | toString () const |
string | toXML () const |
IDLEntity | toIDLEntity () const |
void | setFromXML (string xml) |
void | toBin (EndianOSStream &eoss) const |
Write the binary representation of this to a EndianOSStream. | |
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) |
static Entity | fromBin (EndianIStream &eis) |
Read the binary representation of an Enity from a EndianIStream and use the read value to set an Entity. | |
static Entity | getEntity (StringTokenizer &t) |
static Entity | fromBin (EndianIStream &eis) |
Read the binary representation of an Enity from a EndianIStream and use the read value to set an Entity. | |
Private Member Functions | |
string | getXMLValue (string xml, string parm) const |
string | validXML () const |
string | getXMLValue (string xml, string parm) const |
string | validXML () const |
Private Attributes | |
EntityId | entityId |
string | entityIdEncrypted |
string | entityTypeName |
string | entityVersion |
string | instanceVersion |
Friends | |
ostream & | operator<< (ostream &, const Entity &) |
istream & | operator>> (istream &, Entity &) |
ostream & | operator<< (ostream &, const Entity &) |
istream & | operator>> (istream &, Entity &) |
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.
InvalidArgumentException |
asdm::Entity::Entity | ( | const string & | s | ) |
asdm::Entity::Entity | ( | IDLEntity & | ) |
asdm::Entity::Entity | ( | string | entityId, |
string | entityIdEncrypted, | ||
string | entityTypeName, | ||
string | entityVersion, | ||
string | instanceVersion | ||
) |
virtual asdm::Entity::~Entity | ( | ) | [virtual] |
asdm::Entity::Entity | ( | const string & | s | ) |
asdm::Entity::Entity | ( | IDLEntity & | ) |
asdm::Entity::Entity | ( | string | entityId, |
string | entityIdEncrypted, | ||
string | entityTypeName, | ||
string | entityVersion, | ||
string | instanceVersion | ||
) |
virtual asdm::Entity::~Entity | ( | ) | [virtual] |
bool asdm::Entity::equals | ( | const Entity & | ) | const |
bool asdm::Entity::equals | ( | const Entity & | ) | const |
static Entity asdm::Entity::fromBin | ( | EndianIStream & | eis | ) | [static] |
Read the binary representation of an Enity from a EndianIStream and use the read value to set an Entity.
eis | the EndianStream to be read |
Referenced by asdm::TableStreamReader< T, R >::open().
static Entity asdm::Entity::fromBin | ( | EndianIStream & | eis | ) | [static] |
Read the binary representation of an Enity from a EndianIStream and use the read value to set an Entity.
eis | the EndianStream to be read |
static Entity asdm::Entity::getEntity | ( | StringTokenizer & | t | ) | [static] |
static Entity asdm::Entity::getEntity | ( | StringTokenizer & | t | ) | [static] |
EntityId asdm::Entity::getEntityId | ( | ) | const |
EntityId asdm::Entity::getEntityId | ( | ) | const |
string asdm::Entity::getEntityIdEncrypted | ( | ) | const |
string asdm::Entity::getEntityIdEncrypted | ( | ) | const |
string asdm::Entity::getEntityTypeName | ( | ) | const |
string asdm::Entity::getEntityTypeName | ( | ) | const |
string asdm::Entity::getEntityVersion | ( | ) | const |
string asdm::Entity::getEntityVersion | ( | ) | const |
string asdm::Entity::getInstanceVersion | ( | ) | const |
string asdm::Entity::getInstanceVersion | ( | ) | const |
string asdm::Entity::getXMLValue | ( | string | xml, |
string | parm | ||
) | const [private] |
string asdm::Entity::getXMLValue | ( | string | xml, |
string | parm | ||
) | const [private] |
bool asdm::Entity::isNull | ( | ) | const |
bool asdm::Entity::isNull | ( | ) | const |
bool asdm::Entity::operator!= | ( | const Entity & | ) | const |
bool asdm::Entity::operator!= | ( | const Entity & | ) | const |
bool asdm::Entity::operator== | ( | const Entity & | ) | const |
bool asdm::Entity::operator== | ( | const Entity & | ) | const |
void asdm::Entity::setEntityId | ( | EntityId | e | ) |
void asdm::Entity::setEntityId | ( | EntityId | e | ) |
void asdm::Entity::setEntityIdEncrypted | ( | string | s | ) |
void asdm::Entity::setEntityIdEncrypted | ( | string | s | ) |
void asdm::Entity::setEntityTypeName | ( | string | s | ) |
void asdm::Entity::setEntityTypeName | ( | string | s | ) |
void asdm::Entity::setEntityVersion | ( | string | s | ) |
void asdm::Entity::setEntityVersion | ( | string | s | ) |
void asdm::Entity::setFromXML | ( | string | xml | ) |
void asdm::Entity::setFromXML | ( | string | xml | ) |
void asdm::Entity::setInstanceVersion | ( | string | s | ) |
void asdm::Entity::setInstanceVersion | ( | string | s | ) |
void asdm::Entity::toBin | ( | EndianOSStream & | eoss | ) | const |
Write the binary representation of this to a EndianOSStream.
void asdm::Entity::toBin | ( | EndianOSStream & | eoss | ) | const |
Write the binary representation of this to a EndianOSStream.
IDLEntity asdm::Entity::toIDLEntity | ( | ) | const |
IDLEntity asdm::Entity::toIDLEntity | ( | ) | const |
string asdm::Entity::toString | ( | ) | const |
string asdm::Entity::toString | ( | ) | const |
string asdm::Entity::toXML | ( | ) | const |
string asdm::Entity::toXML | ( | ) | const |
string asdm::Entity::validXML | ( | ) | const [private] |
string asdm::Entity::validXML | ( | ) | const [private] |
ostream& operator<< | ( | ostream & | , |
const Entity & | |||
) | [friend] |
ostream& operator<< | ( | ostream & | , |
const Entity & | |||
) | [friend] |
istream& operator>> | ( | istream & | , |
Entity & | |||
) | [friend] |
istream& operator>> | ( | istream & | , |
Entity & | |||
) | [friend] |
EntityId asdm::Entity::entityId [private] |
string asdm::Entity::entityIdEncrypted [private] |
string asdm::Entity::entityTypeName [private] |
string asdm::Entity::entityVersion [private] |
string asdm::Entity::instanceVersion [private] |