torc::generic::Renamable Class Reference

Represents objects that can be renamed. More...

#include <Renamable.hpp>

Inheritance diagram for torc::generic::Renamable:

Inheritance graph
[legend]

List of all members.

Public Types

typedef std::string Name

Public Member Functions

virtual Name getOriginalName () const throw ()
virtual void setOriginalName (const Name &inSource) throw ()

Private Member Functions

 Renamable (const Renamable &)
Renamableoperator= (const Renamable &)

Private Attributes

Name mOriginalName


Detailed Description

Represents objects that can be renamed.

EDIF provides a way to store displayable string values with different objects using the (rename ...) construct. The Renamable interface will be generalized by objects that need to support this feature.

Definition at line 37 of file Renamable.hpp.


Member Function Documentation

Renamable::Name torc::generic::Renamable::getOriginalName (  )  const throw () [inline, virtual]

Get the new name provided for the object.

Returns:
Name of the object

Definition at line 88 of file Renamable.hpp.

void torc::generic::Renamable::setOriginalName ( const Name &  inSource  )  throw () [virtual]

Set the new name provided for the object.

Parameters:
[in] inSource Name of the object

Definition at line 40 of file Renamable.cpp.


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

Generated on Thu Oct 13 16:50:21 2011 for TORC by  doxygen 1.5.6