|
cosi::Ports Class Reference#include <Ports.h>
List of all members.
|
Public Types |
typedef std::map< string,
PortInterface >::iterator | iterator |
Public Member Functions |
| Ports () |
| ~Ports () |
Ports | Get () |
void | Set (Ports pP) |
std::map< std::string,
PortInterface > | GetValue () |
void | AddPort (std::string pName, std::string pType, PortInterface::tDirection pDir) |
void | AddPort (std::string pName, PortInterface pIf) |
bool | HasPortType (std::string pType) |
bool | HasPort (std::string pName) |
bool | IsBound (std::string pName) |
Edge | BoundTo (std::string pName) |
void | BoundTo (std::string pName, Edge pE) |
string | IsBoundTo (Edge pE, PortInterface::tDirection pDir=PortInterface::OUT) |
iterator | Begin () |
iterator | End () |
string | Name (iterator It) |
PortInterface | If (iterator It) |
string | GetInputPortNotBound () |
string | GetOutputPortNotBound () |
string | GetInputOutputPortNotBound () |
std::vector< std::string > | GetNotBoundIn () |
std::vector< std::string > | GetNotBoundOut () |
std::vector< std::string > | GetNotBoundInOut () |
bool | operator== (Ports pP) |
Ports | operator+ (Ports pT) |
Ports | operator- (Ports pT) |
PortInterface | operator[] (std::string pName) |
Static Public Member Functions |
static std::string | GetQuantityType () |
static std::string | GetQuantityName () |
Static Public Attributes |
static std::string | sQuantityType = "std::string->std::string" |
static std::string | sQuantityName = "Ports" |
Private Attributes |
std::map< std::string,
PortInterface > | mPorts |
std::map< std::string, Edge > | mBound |
Friends |
std::ostream & | operator<< (std::ostream &pOs, const Ports &pP) |
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
static std::string cosi::Ports::GetQuantityType |
( |
|
) |
[static] |
static std::string cosi::Ports::GetQuantityName |
( |
|
) |
[static] |
Ports cosi::Ports::Get |
( |
|
) |
|
void cosi::Ports::Set |
( |
Ports |
pP |
) |
|
void cosi::Ports::AddPort |
( |
std::string |
pName, |
|
|
PortInterface |
pIf | |
|
) |
| | |
bool cosi::Ports::HasPortType |
( |
std::string |
pType |
) |
|
bool cosi::Ports::HasPort |
( |
std::string |
pName |
) |
|
bool cosi::Ports::IsBound |
( |
std::string |
pName |
) |
|
Edge cosi::Ports::BoundTo |
( |
std::string |
pName |
) |
|
void cosi::Ports::BoundTo |
( |
std::string |
pName, |
|
|
Edge |
pE | |
|
) |
| | |
std::string cosi::Ports::Name |
( |
iterator |
It |
) |
|
std::string cosi::Ports::GetInputPortNotBound |
( |
|
) |
|
std::string cosi::Ports::GetOutputPortNotBound |
( |
|
) |
|
std::string cosi::Ports::GetInputOutputPortNotBound |
( |
|
) |
|
std::vector< std::string > cosi::Ports::GetNotBoundIn |
( |
|
) |
|
std::vector< std::string > cosi::Ports::GetNotBoundOut |
( |
|
) |
|
std::vector< std::string > cosi::Ports::GetNotBoundInOut |
( |
|
) |
|
bool cosi::Ports::operator== |
( |
Ports |
pP |
) |
|
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
pOs, |
|
|
const Ports & |
pP | |
|
) |
| | [friend] |
Member Data Documentation
The documentation for this class was generated from the following files:
Generated on Sun Sep 7 18:37:46 2008 for COSI by
1.5.4
|