torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
torc::generic::Linker::NameSpec Class Reference

#include <Linker.hpp>

+ Collaboration diagram for torc::generic::Linker::NameSpec:

Public Member Functions

 NameSpec ()
 
 NameSpec (const std::string &inLibraryName, const std::string &inCellName, const std::string &inViewName)
 
 ~NameSpec () throw ()
 
 NameSpec (const NameSpec &inSource)
 
NameSpecoperator= (const NameSpec &inSource)
 
bool operator< (const NameSpec &inRhs) const
 
std::string getLibraryName () const
 
void setLibraryName (const std::string &inValue)
 
std::string getCellName () const
 
void setCellName (const std::string &inValue)
 
std::string getViewName () const
 
void setViewName (const std::string &inValue)
 

Private Attributes

std::string mLibraryName
 
std::string mCellName
 
std::string mViewName
 

Detailed Description

The name specification of a view consisting of a library name, cell name and a view name.

Definition at line 56 of file Linker.hpp.

Constructor & Destructor Documentation

torc::generic::Linker::NameSpec::NameSpec ( )

Definition at line 53 of file Linker.cpp.

54  :mLibraryName(),
55  mCellName(),
56  mViewName() {}
torc::generic::Linker::NameSpec::NameSpec ( const std::string &  inLibraryName,
const std::string &  inCellName,
const std::string &  inViewName 
)

Definition at line 58 of file Linker.cpp.

61  : mLibraryName(inLibraryName),
62  mCellName(inCellName),
63  mViewName(inViewName) {}
torc::generic::Linker::NameSpec::~NameSpec ( )
throw (
)

Definition at line 65 of file Linker.cpp.

65 {}
torc::generic::Linker::NameSpec::NameSpec ( const NameSpec inSource)

Definition at line 67 of file Linker.cpp.

68  :mLibraryName(inSource.mLibraryName),
69  mCellName(inSource.mCellName),
70  mViewName(inSource.mViewName) {}

Member Function Documentation

std::string torc::generic::Linker::NameSpec::getCellName ( ) const
inline

Definition at line 222 of file Linker.hpp.

222  {
223  return mCellName;
224 }
std::string torc::generic::Linker::NameSpec::getLibraryName ( ) const
inline

Definition at line 218 of file Linker.hpp.

218  {
219  return mLibraryName;
220 }
std::string torc::generic::Linker::NameSpec::getViewName ( ) const
inline

Definition at line 226 of file Linker.hpp.

226  {
227  return mViewName;
228 }
bool torc::generic::Linker::NameSpec::operator< ( const NameSpec inRhs) const
inline

Definition at line 211 of file Linker.hpp.

211  {
212  return mLibraryName < inRhs.mLibraryName
213  || (mLibraryName == inRhs.mLibraryName && mCellName < inRhs.mCellName)
214  || (mLibraryName == inRhs.mLibraryName && mCellName == inRhs.mCellName
215  && mViewName < inRhs.mViewName);
216 }
Linker::NameSpec & torc::generic::Linker::NameSpec::operator= ( const NameSpec inSource)

Definition at line 73 of file Linker.cpp.

74  {
75  if(this != &inSource)
76  {
77  mLibraryName = inSource.mLibraryName;
78  mCellName = inSource.mCellName;
79  mViewName = inSource.mViewName;
80  }
81  return *this;
82 }
void torc::generic::Linker::NameSpec::setCellName ( const std::string &  inValue)

Definition at line 91 of file Linker.cpp.

91  {
92  mCellName = inValue;
93 }
void torc::generic::Linker::NameSpec::setLibraryName ( const std::string &  inValue)

Definition at line 85 of file Linker.cpp.

86  {
87  mLibraryName = inValue;
88 }
void torc::generic::Linker::NameSpec::setViewName ( const std::string &  inValue)

Definition at line 96 of file Linker.cpp.

96  {
97  mViewName = inValue;
98 }

Field Documentation

std::string torc::generic::Linker::NameSpec::mCellName
private

Definition at line 85 of file Linker.hpp.

std::string torc::generic::Linker::NameSpec::mLibraryName
private

Definition at line 84 of file Linker.hpp.

std::string torc::generic::Linker::NameSpec::mViewName
private

Definition at line 86 of file Linker.hpp.


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