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

Used to implement external object referencing. More...

#include <Extern.hpp>

+ Inheritance diagram for torc::generic::Extern:

Public Member Functions

bool getIsExtern () const
 
bool isExtern () const
 
void setIsExtern (bool inIsExtern)
 
virtual ~Extern () throw ()
 

Protected Member Functions

 Extern ()
 

Private Member Functions

 Extern (const Extern &source)
 
Externoperator= (const Extern &source)
 

Private Attributes

bool mIsExtern
 

Detailed Description

Used to implement external object referencing.

The Extern interface is used by objects to create placeholders for objects that could not be found by the Linker. In itself, the class is pretty simple and uses a single boolean inSource to indicate whether an object is a real object or a place holder. Simplistically, extern objects are used to represent libraries, cells, views and ports declared using the EDIF (extern ...) syntax. However, in case of multifile parsing, the Linker will try to remove externs from the design hierarchy with newly discovered items.

Definition at line 36 of file Extern.hpp.

Constructor & Destructor Documentation

torc::generic::Extern::Extern ( )
protected

Definition at line 39 of file Extern.cpp.

39 : mIsExtern(false) {}
torc::generic::Extern::~Extern ( )
throw (
)
virtual

Definition at line 41 of file Extern.cpp.

41 {}
torc::generic::Extern::Extern ( const Extern source)
private

Member Function Documentation

bool torc::generic::Extern::getIsExtern ( ) const
inline

Get whether the item is an extern(placeholder) or an actual item.

Returns
True if extern, false otherwise

Definition at line 86 of file Extern.hpp.

86  {
87  return mIsExtern;
88 }
bool torc::generic::Extern::isExtern ( ) const
inline

Get whether the item is an extern(placeholder) or an actual item.

Returns
True if extern, false otherwise

Definition at line 95 of file Extern.hpp.

95  {
96  return mIsExtern;
97 }
Extern& torc::generic::Extern::operator= ( const Extern source)
private
void torc::generic::Extern::setIsExtern ( bool  inIsExtern)

Set whether an item is extern or not.

Parameters
[in]isExternTrue if extern, false otherwise

Definition at line 35 of file Extern.cpp.

35  {
36  mIsExtern = inIsExtern;
37 }

Field Documentation

bool torc::generic::Extern::mIsExtern
private

Definition at line 78 of file Extern.hpp.


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