27 #ifndef EntityRef_CLASS
28 #define EntityRef_CLASS
38 #include <asdmIDLTypesC.h>
48 std::ostream &
operator << ( std::ostream &,
const EntityRef & );
126 std::string
getXMLValue(std::string xml, std::string parm)
const;
asdmIDLTypes::IDLEntityRef toIDLEntityRef() const
std::string entityTypeName
bool equals(const EntityRef &) const
The InvalidDataException class represents an exception when an error occurs in converting a numeric v...
std::string validXML() const
std::string toXML() const
void setInstanceVersion(std::string s)
std::string getXMLValue(std::string xml, std::string parm) const
The StringTokenizer class is a translation into C++ of the Java class of the same name in Java's util...
static EntityRef getEntityRef(StringTokenizer &t)
static std::vector< EntityRef > from1DBin(EndianIStream &eis)
Read the binary representation of a vector of EntityRef from an EndianIStream and use the read value ...
void setFromXML(std::string xml)
The EntityRef class is an identification of a persistant entity in the ALMA archive.
bool operator!=(const EntityRef &) const
std::string instanceVersion
virtual ~EntityRef()
EntityRef destructor.
std::ostream & operator<<(std::ostream &, const EntityId &)
Friend functions.
friend std::ostream & operator<<(std::ostream &, const EntityRef &)
Friend functions.
void setEntityTypeName(std::string s)
EntityId getEntityId() const
Getters and Setters.
std::string getEntityTypeName() const
void setEntityId(EntityId e)
void toBin(EndianOSStream &eoss) const
Write the binary representation of this to a EndianOSStream.
The InvalidArgumentException class represents an exception when an attempt is made to access somethin...
std::string toString() const
const Double e
e and functions thereof:
std::string getInstanceVersion() const
static EntityRef fromBin(EndianIStream &eis)
Read the binary representation of an EntityRef from a EndianIStream and use the read value to set an ...
bool operator==(const EntityRef &) const