Configuration of a Connector. More...
#include <robj2dconfig.h>
Inheritance diagram for RObj2DConfigConnector:
Collaboration diagram for RObj2DConfigConnector:
Public Member Functions | |
RObj2DConfigConnector (RObj2DConnector *con) | |
int | Compare (const RObj2DConfigConnector &con) const |
int | Compare (const size_t con) const |
int | Compare (const RString &name) const |
double | GetMinDist (RObj2DConfigConnector *c, RLayout *layout, RObj2DConfigPin *&pin1, RObj2DConfigPin *&pin2) |
RObj2DConnector * | GetConnector (void) const |
Public Member Functions inherited from RContainer< RObj2DConfigPin, true, true > | |
RContainer (size_t m, size_t i=0) | |
RContainer (const RContainer< RObj2DConfigPin, true, true > &src) | |
RContainer (const RContainer< RObj2DConfigPin, false, true > &src) | |
int | Compare (const RContainer< RObj2DConfigPin, true, true > &) const |
size_t | GetNb (void) const |
size_t | GetMaxPos (void) const |
size_t | GetMaxNb (void) const |
size_t | GetIncNb (void) const |
bool | VerifyIndex (size_t idx) const |
void | VerifyTab (size_t max=0) |
void | Clear (size_t m=0, size_t i=0, bool force=false) |
void | ReOrder (int sortOrder(const void *, const void *), size_t min, size_t max) |
void | ReOrder (int sortOrder(const void *, const void *)) |
void | ReOrder (void) |
void | Exchange (size_t pos1, size_t pos2) |
void | Shift (size_t idx, bool reverse) |
void | Transfer (RContainer< RObj2DConfigPin, a, o > &src) |
RContainer & | operator= (const RContainer< RObj2DConfigPin, true, true > &src) |
RContainer & | operator= (const RContainer< RObj2DConfigPin, false, true > &src) |
void | Copy (const RContainer< RObj2DConfigPin, a, true > &src) |
RContainer & | operator+= (const RContainer< RObj2DConfigPin, a, o > &src) |
size_t | GetIndex (const TUse &tag, bool &find, size_t min=0, size_t max=0) const |
bool | IsIn (const TUse &tag, bool sortkey, size_t min=0, size_t max=0) const |
bool | IsIn (const TUse &tag, size_t min=0, size_t max=0) const |
const RObj2DConfigPin * | operator[] (size_t idx) const |
RObj2DConfigPin * | operator[] (size_t idx) |
const RObj2DConfigPin * | GetPtrAt (size_t idx) const |
RObj2DConfigPin * | GetPtrAt (size_t idx) |
RObj2DConfigPin * | GetPtr (const TUse &tag, bool sortkey, size_t min=0, size_t max=0) const |
RObj2DConfigPin * | GetPtr (const TUse &tag, size_t min=0, size_t max=0) const |
RObj2DConfigPin * | GetInsertPtr (const TUse &tag, bool sortkey, size_t min=0, size_t max=0) |
RObj2DConfigPin * | GetInsertPtr (const TUse &tag, size_t min=0, size_t max=0) |
RObj2DConfigPin * | GetInsertPtrAt (const TUse &tag, size_t pos) |
RContainer< RObj2DConfigPin, false, true > * | GetPtrs (const TUse &tag, size_t min=0, size_t max=0) const |
size_t | GetTab (const void **tab, size_t min=0, size_t max=0) const |
size_t | GetTab (void **tab, size_t min=0, size_t max=0) |
size_t | GetTab (const RObj2DConfigPin **tab, size_t min=0, size_t max=0) const |
size_t | GetTab (RObj2DConfigPin **tab, size_t min=0, size_t max=0) |
void | InsertPtrAt (RObj2DConfigPin *ins, size_t pos, bool del) |
void | InsertPtrAt (RObj2DConfigPin *ins, size_t pos) |
void | InsertPtr (RObj2DConfigPin *ins, bool del=false, size_t min=0, size_t max=0) |
void | DeletePtrAt (size_t pos, bool shift, bool del) |
void | DeletePtrAt (size_t pos, bool shift) |
void | DeletePtrAt (size_t pos) |
void | DeletePtr (const TUse &tag, bool sortkey, bool del, size_t min=0, size_t max=0) |
void | DeletePtr (const TUse &tag, bool sortkey, size_t min=0, size_t max=0) |
void | DeletePtr (const TUse &tag, size_t min=0, size_t max=0) |
void | Inter (const iRContainer< RObj2DConfigPin > &src1, const iRContainer< RObj2DConfigPin > &src2) |
void | Union (const iRContainer< RObj2DConfigPin > &src1, const iRContainer< RObj2DConfigPin > &src2) |
virtual | ~RContainer (void) |
Public Member Functions inherited from iRContainer< C > | |
size_t | GetNb (void) const |
size_t | GetMaxPos (void) const |
size_t | GetMaxNb (void) const |
size_t | GetIncNb (void) const |
bool | VerifyIndex (size_t idx) const |
void | VerifyTab (size_t max=0) |
void | Clear (size_t m=0, size_t i=0, bool force=false) |
void | ReOrder (int sortOrder(const void *, const void *), size_t min, size_t max) |
void | ReOrder (int sortOrder(const void *, const void *)) |
void | ReOrder (void) |
void | Exchange (size_t pos1, size_t pos2) |
void | Shift (size_t idx, bool reverse) |
void | Transfer (iRContainer< C > &src) |
iRContainer & | operator= (const iRContainer< C > &src) |
void | Copy (const iRContainer< C > &src) |
iRContainer & | operator+= (const iRContainer< C > &src) |
size_t | GetIndex (bool order, const TUse &tag, bool &find, size_t min=0, size_t max=0) const |
size_t | GetIndex (const TUse &tag, bool &find, size_t min=0, size_t max=0) const |
bool | IsIn (const TUse &tag, bool sortkey, size_t min=0, size_t max=0) const |
bool | IsIn (const TUse &tag, size_t min=0, size_t max=0) const |
const C * | operator[] (size_t idx) const |
C * | operator[] (size_t idx) |
const C * | GetPtrAt (size_t idx) const |
C * | GetPtrAt (size_t idx) |
C * | GetPtr (const TUse &tag, bool sortkey, size_t min=0, size_t max=0) const |
C * | GetPtr (const TUse &tag, size_t min=0, size_t max=0) const |
C * | GetInsertPtr (const TUse &tag, bool sortkey, size_t min=0, size_t max=0) |
C * | GetInsertPtr (const TUse &tag, size_t min=0, size_t max=0) |
C * | GetInsertPtrAt (const TUse &tag, size_t pos) |
size_t | GetTab (const void **tab, size_t min=0, size_t max=0) const |
size_t | GetTab (void **tab, size_t min=0, size_t max=0) |
size_t | GetTab (const C **tab, size_t min=0, size_t max=0) const |
size_t | GetTab (C **tab, size_t min=0, size_t max=0) |
void | InsertPtrAt (C *ins, size_t pos, bool del) |
void | InsertPtrAt (C *ins, size_t pos) |
void | InsertPtr (C *ins, bool del=false, size_t min=0, size_t max=0) |
void | DeletePtrAt (size_t pos, bool shift, bool del) |
void | DeletePtrAt (size_t pos, bool shift) |
void | DeletePtrAt (size_t pos) |
void | DeletePtr (const TUse &tag, bool sortkey, bool del, size_t min=0, size_t max=0) |
void | DeletePtr (const TUse &tag, bool sortkey, size_t min=0, size_t max=0) |
void | DeletePtr (const TUse &tag, size_t min=0, size_t max=0) |
void | Inter (const iRContainer< C > &src1, const iRContainer< C > &src2) |
void | Union (const iRContainer< C > &src1, const iRContainer< C > &src2) |
virtual | ~iRContainer (void) |
Private Attributes | |
RObj2DConnector * | Connector |
Additional Inherited Members | |
Static Public Member Functions inherited from RContainer< RObj2DConfigPin, true, true > | |
static int | SortOrder (const void *a, const void *b) |
Static Public Member Functions inherited from iRContainer< C > | |
static int | SortOrder (const void *a, const void *b) |
Protected Member Functions inherited from iRContainer< C > | |
void | Create (const iRContainer< C > &src) |
iRContainer & | NormalCopy (const iRContainer< C > &src) |
void | DeepCopy (const iRContainer< C > &src) |
iRContainer & | Add (const iRContainer< C > &src) |
Protected Attributes inherited from iRContainer< C > | |
C ** | Tab |
size_t | NbPtr |
size_t | MaxPtr |
size_t | LastPtr |
size_t | IncPtr |
Detailed Description
Configuration of a Connector.
The RObj2DConfigConnector class represent a possible configuration of a connector.
Constructor & Destructor Documentation
RObj2DConfigConnector | ( | RObj2DConnector * | con | ) |
Constructor a particular configuration of a connector.
- Parameters
-
con Connector.
Member Function Documentation
int Compare | ( | const RObj2DConfigConnector & | con | ) | const |
Compare two connector configuration.
- Parameters
-
con Connector configuration.
- Returns
- a value used by RContainer.
int Compare | ( | const size_t | con | ) | const |
Compare a connector configuration with an identifier.
- Parameters
-
con Identifier of the connector.
- Returns
- a value used by RContainer.
int Compare | ( | const RString & | name | ) | const |
Compare a connector configuration with a name (if called with a container of RObj2DConfigConnector, it is not sort key).
- Parameters
-
name name of the connector.
- Returns
- a value used by RContainer.
double GetMinDist | ( | RObj2DConfigConnector * | c, |
RLayout * | layout, | ||
RObj2DConfigPin *& | pin1, | ||
RObj2DConfigPin *& | pin2 | ||
) |
Return the minimum distance between two connectors.
- Parameters
-
c The second connector. layout Layout. pin1 The first pin used (set by the method). pin2 The second lin used (set by the method).
RObj2DConnector* GetConnector | ( | void | ) | const |
- Returns
- the connector.
Member Data Documentation
|
private |
Corresponding connector.