torc-master
|
Represents an information container relating to the writer of the EDIF file. More...
#include <Written.hpp>
Data Structures | |
class | Factory |
Public Types | |
typedef Written | Type |
typedef boost::shared_ptr< Type > | Pointer |
typedef boost::weak_ptr< Type > | WeakPointer |
Public Member Functions | |
const TimeStamp | getTimeStamp () const |
void | setTimeStamp (const TimeStamp &inTimeStamp) |
const std::string | getAuthorName () const |
void | setAuthorName (const std::string &inAuthorName) |
const std::string | getProgramName () const |
void | setProgramName (const std::string &inProgramName) |
const std::string | getProgramVersion () const |
void | setProgramVersion (const std::string &inProgramVersion) |
const std::string | getDataOriginLocationName () const |
void | setDataOriginLocationName (const std::string &value) |
const std::string | getDataOriginVersion () const |
void | setDataOriginVersion (const std::string &inDataOriginVersion) |
Written () | |
~Written () throw () | |
void | addComment (const std::string &comment) |
const std::vector< std::string > & | getComments () const |
void | setComments (const std::vector< std::string > &inSource) |
PropertySharedPtr | getProperty (const std::string &inName) |
bool | setProperty (const std::string &inName, const PropertySharedPtr &inProperty) |
void | getProperties (std::map< std::string, PropertySharedPtr > &outProperties) const |
void | setProperties (const std::map< std::string, PropertySharedPtr > &inSource) |
template<typename _Action > | |
void | applyOnAllProperties (const _Action &action) throw (Error) |
void | getUserData (std::list< std::string > &outUserData) const |
void | setUserData (const std::list< std::string > &inSource) |
void | addUserData (const std::string &inSource) |
void | setWeakThis (const WeakPointer &inWeakThis) |
Pointer | getSharedThis () const |
Private Attributes | |
TimeStamp | mTimeStamp |
std::string | mAuthorName |
std::string | mProgramName |
std::string | mProgramVersion |
std::string | mDataOriginLocationName |
std::string | mDataOriginVersion |
Friends | |
class | FactoryType< Written > |
Represents an information container relating to the writer of the EDIF file.
Definition at line 33 of file Written.hpp.
|
inherited |
Definition at line 36 of file SelfReferencing.hpp.
|
inherited |
Definition at line 35 of file SelfReferencing.hpp.
|
inherited |
Definition at line 37 of file SelfReferencing.hpp.
torc::generic::Written::Written | ( | ) |
Definition at line 112 of file Written.cpp.
torc::generic::Written::~Written | ( | ) | ||
throw | ( | |||
) |
Definition at line 116 of file Written.cpp.
|
inherited |
Add a comment to the object
[in] | comment | The comment to add to an existing list of comments |
Definition at line 36 of file Commentable.cpp.
|
inherited |
Add an user data to the list of user data
[in] | inSource | An user data as string |
Definition at line 34 of file UserDataContainer.cpp.
|
inlineinherited |
Apply action on all properties.
[in] | action | Action to be applied |
Definition at line 113 of file PropertyContainer.hpp.
|
inline |
|
inlineinherited |
Get the list of all comments
Definition at line 85 of file Commentable.hpp.
|
inline |
Get Data origin location name
Definition at line 207 of file Written.hpp.
|
inline |
Get Data origin version
Get DataOrigin version
Definition at line 216 of file Written.hpp.
|
inline |
|
inline |
|
inlineinherited |
Get the map of all properties
[out] | outProperties | The map of properties |
Get the map of all properties
Definition at line 107 of file PropertyContainer.hpp.
|
inherited |
Get a property
[in] | inName | Name of the property to be retreived |
Get a property
[in] | name | Name of the property to be retreived |
Definition at line 37 of file PropertyContainer.cpp.
|
inlineinherited |
Get a shared pointer to this object. A valid pointer is returned if weakThis was set. Otherwise this returns a NULL pointer. For Vector types, the second scenario is an exception condition and should be treated as such.
Get a shared pointer to this object. A valid pointer is returned if weakThis was set. Otherwise this returns a NULL pointer. For Vector types, the second scenario is an exception condition and should be treated as such.
[out] | ptr | Set to a shared pointer to this object |
|
inline |
Get the time stamp
Definition at line 171 of file Written.hpp.
|
inlineinherited |
Get the list of all userData
[out] | outUserData | The list of all userData |
Definition at line 78 of file UserDataContainer.hpp.
void torc::generic::Written::setAuthorName | ( | const std::string & | inAuthorName | ) |
Set author name
[in] | inAuthorName | Name of the author |
Definition at line 72 of file Written.cpp.
|
inherited |
Get the list of all comments
[in] | inSource | A list of all comments to be set on this object |
Definition at line 45 of file Commentable.cpp.
void torc::generic::Written::setDataOriginLocationName | ( | const std::string & | value | ) |
Set Data origin location name
[in] | value | Data Origin Location Name |
Definition at line 99 of file Written.cpp.
void torc::generic::Written::setDataOriginVersion | ( | const std::string & | inDataOriginVersion | ) |
Set Data origin version
[in] | inDataOriginVersion | Version of the DataOrigin |
Set DataOrigin version
[in] | inDataOriginVersion | Version of the DataOrigin |
Definition at line 108 of file Written.cpp.
void torc::generic::Written::setProgramName | ( | const std::string & | inProgramName | ) |
Set program name
[in] | inProgramName | Name of the program |
Definition at line 81 of file Written.cpp.
void torc::generic::Written::setProgramVersion | ( | const std::string & | inProgramVersion | ) |
Set program version
[in] | inProgramVersion | Version of the program |
Definition at line 90 of file Written.cpp.
|
inherited |
Set the map of properties
[in] | inSource | The map of properties |
Definition at line 66 of file PropertyContainer.cpp.
|
inherited |
Save the inSource of a property
[in] | inName | Name of the property to be saved |
[in] | inProperty | Pointer to the property object if present, empty pointer otherwise. |
Save the inSource of a property
[in] | inName | Name of the property to be saved |
[in] | inPoperty | Pointer to the property object if present, empty pointer otherwise. |
Definition at line 53 of file PropertyContainer.cpp.
void torc::generic::Written::setTimeStamp | ( | const TimeStamp & | inTimeStamp | ) |
Set time stamp
[in] | inTimeStamp | TimeStamp in Universal Time Coordinate. |
Definition at line 63 of file Written.cpp.
|
inherited |
Set the list of userData
[in] | inSource | The list of UserData |
Definition at line 26 of file UserDataContainer.cpp.
|
inlineinherited |
Set a weak pointer to this object. This will be used later to get a shared pointer to this object from within other member methods if required. This should be called by the Factory creating the object.
[in] | weakThis | A weak pointer to this object |
|
friend |
Definition at line 36 of file Written.hpp.
|
private |
Definition at line 159 of file Written.hpp.
|
private |
Definition at line 162 of file Written.hpp.
|
private |
Definition at line 163 of file Written.hpp.
|
private |
Definition at line 160 of file Written.hpp.
|
private |
Definition at line 161 of file Written.hpp.
|
private |
Definition at line 158 of file Written.hpp.