cl::utfsm::acs::types::TypedObject Class Reference

Inheritance diagram for cl::utfsm::acs::types::TypedObject:
Inheritance graph
[legend]
Collaboration diagram for cl::utfsm::acs::types::TypedObject:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TypedObject ()
 TypedObject (AcsType type)
String getTypeNamespace ()
String getTypeDocumentation ()
String getTypeName ()
String getValue ()
void setValue (String value)
String toString ()

Protected Attributes

AcsType type
String value

Detailed Description

An abstract class that defines an ACS XML object from a AcsType. If an object is a typed object, then a value, a type, a documentation, and a namespace are associated to the object. Also, this class defines the toString() method, so any object will have an easy way to get the value.

Author:
Mauricio Araya (maray[at]inf.utfsm.cl)

Constructor & Destructor Documentation

cl::utfsm::acs::types::TypedObject::TypedObject (  )  [inline]

Constructor with no operations (unuseful?)

cl::utfsm::acs::types::TypedObject::TypedObject ( AcsType  type  )  [inline]

Constructor that setup the type.


Member Function Documentation

String cl::utfsm::acs::types::TypedObject::getTypeDocumentation (  )  [inline]

Return the documentation string.

Returns:
the documentation string.

References cl::utfsm::acs::types::AcsType::documentation, and type.

Referenced by cl::utfsm::acs::types::SimpleObjectTEST::testType().

String cl::utfsm::acs::types::TypedObject::getTypeName (  )  [inline]
String cl::utfsm::acs::types::TypedObject::getTypeNamespace (  )  [inline]

Return the namespace of the type

Returns:
the type namespace

References type.

Referenced by cl::utfsm::acs::types::SimpleObjectTEST::testType().

String cl::utfsm::acs::types::TypedObject::getValue (  )  [inline]
void cl::utfsm::acs::types::TypedObject::setValue ( String  value  )  [inline]
String cl::utfsm::acs::types::TypedObject::toString (  )  [inline]

Member Data Documentation

The current value of the object

Referenced by getValue(), and toString().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2