Public Member Functions | |
~PinPoid () | |
~PinPoid () | |
~PinPoid () | |
~PinPoid () | |
Static Public Attributes | |
static const char | SEPARATOR_CHAR = ' ' |
Private Member Functions | |
void | operator= (const PinPoid &) |
void | operator= (const PinPoid &) |
void | operator= (const PinPoid &) |
void | operator= (const PinPoid &) |
Private Attributes | |
PinBool | m_owns |
poid_t * | m_poidp |
Related Functions | |
(Note that these are not member functions.) | |
PCMCPP_API std::ostream & | operator<< (std::ostream &os, PinPoidBase &flist) |
Public Factory Methods | |
static PinPoidOwner | create (PinPoidDb db, PinPoidTypeConst type, PinPoidId id) |
static PinPoidObserver | createAsObserved (poid_t *pdp) |
static PinPoidObserverConst | createAsObservedConst (poid_t *pdp) |
static PinPoidOwner | createAsOwned (poid_t *pdp) |
Public Factory Methods | |
static PinPoidOwner | create (PinPoidDb db, PinPoidTypeConst type, PinPoidId id) |
static PinPoidObserver | createAsObserved (poid_t *pdp) |
static PinPoidOwner | createAsOwned (poid_t *pdp) |
Public Factory Methods | |
static PinPoidOwner | create (PinPoidDb db, PinPoidTypeConst type, PinPoidId id) |
static PinPoidObserver | createAsObserved (poid_t *pdp) |
static PinPoidObserverConst | createAsObservedConst (poid_t *pdp) |
static PinPoidOwner | createAsOwned (poid_t *pdp) |
Public Factory Methods | |
static PinPoidOwner | create (PinPoidDb db, PinPoidTypeConst type, PinPoidId id) |
static PinPoidObserver | createAsObserved (poid_t *pdp) |
static PinPoidOwner | createAsOwned (poid_t *pdp) |
Public Member Functions | |
PinPoidDb | getDb () const |
PinPoidId | getId () const |
PinPoidTypeConst | getTypeConst () const |
PinPoidType | getType () const |
PinPoidRev | getRev () const |
PinBool | isTypeOnly () const |
PinPoidOwner | clone () const |
int | compare (const PinPoidBase &poid, int checkRev=0) const |
PinBool | isEqual (const PinPoidBase &poid, int checkRev=0) const |
void | toString (char buf[], int bufsize, int skiprev=0) const |
PinBool | isNull () const |
const poid_t * | get () const |
poid_t * | get () const |
poid_t * | get () |
poid_t * | release () |
Semi-public constructors and member Functions | |
PinPoid () | |
void | grab (poid_t *poidp, PinBool owns) |
void | takeFrom (PinPoid &) |
void | copyFrom (const PinPoid &) |
Public Member Functions | |
PinPoidDb | getDb () const |
PinPoidId | getId () const |
PinPoidTypeConst | getTypeConst () const |
PinPoidType | getType () const |
PinPoidRev | getRev () const |
PinBool | isTypeOnly () const |
PinPoidOwner | clone () const |
int | compare (const PinPoidBase &poid, int checkRev=0) const |
PinBool | isEqual (const PinPoidBase &poid, int checkRev=0) const |
void | toString (char buf[], int bufsize, int skiprev=0) const |
PinBool | isNull () const |
const poid_t * | get () const |
poid_t * | release () |
Semi-public constructors and member Functions | |
PinPoid () | |
PinPoid (poid_t *poidp, PinBool owns) | |
PinPoid (const PinPoid &) | |
void | takeFrom (PinPoid &) |
void | copyFrom (const PinPoid &) |
Public Member Functions | |
PinPoidDb | getDb () const |
PinPoidId | getId () const |
PinPoidTypeConst | getTypeConst () const |
PinPoidType | getType () const |
PinPoidRev | getRev () const |
PinBool | isTypeOnly () const |
PinPoidOwner | clone () const |
int | compare (const PinPoidBase &poid, int checkRev=0) const |
PinBool | isEqual (const PinPoidBase &poid, int checkRev=0) const |
void | toString (char buf[], int bufsize, int skiprev=0) const |
PinBool | isNull () const |
const poid_t * | get () const |
poid_t * | get () const |
poid_t * | get () |
poid_t * | release () |
Semi-public constructors and member Functions | |
PinPoid () | |
void | grab (poid_t *poidp, PinBool owns) |
void | takeFrom (PinPoid &) |
void | copyFrom (const PinPoid &) |
Public Member Functions | |
PinPoidDb | getDb () const |
PinPoidId | getId () const |
PinPoidTypeConst | getTypeConst () const |
PinPoidType | getType () const |
PinPoidRev | getRev () const |
PinBool | isTypeOnly () const |
PinPoidOwner | clone () const |
int | compare (const PinPoidBase &poid, int checkRev=0) const |
PinBool | isEqual (const PinPoidBase &poid, int checkRev=0) const |
void | toString (char buf[], int bufsize, int skiprev=0) const |
PinBool | isNull () const |
const poid_t * | get () const |
poid_t * | release () |
Semi-public constructors and member Functions | |
PinPoid () | |
PinPoid (poid_t *poidp, PinBool owns) | |
PinPoid (const PinPoid &) | |
void | takeFrom (PinPoid &) |
void | copyFrom (const PinPoid &) |
PinPoid::~PinPoid | ( | ) |
Destructor
PinPoid::PinPoid | ( | ) |
PinPoid::~PinPoid | ( | ) |
Destructor
PinPoid::PinPoid | ( | ) |
PinPoid::PinPoid | ( | const PinPoid & | other | ) |
PinPoid::~PinPoid | ( | ) |
Destructor
PinPoid::PinPoid | ( | ) |
PinPoid::~PinPoid | ( | ) |
Destructor
PinPoid::PinPoid | ( | ) |
PinPoid::PinPoid | ( | const PinPoid & | ) |
PinPoidOwner PinPoid::create | ( | PinPoidDb | db, | |
PinPoidTypeConst | type, | |||
PinPoidId | id | |||
) | [static] |
Create a new Poid and access it via the owner C++ wrapper.
db | Database number | |
type | Storable class type | |
id | Instance id |
PinPoidObserver PinPoid::createAsObserved | ( | poid_t * | pdp | ) | [static] |
static PinPoidObserverConst PinPoid::createAsObservedConst | ( | poid_t * | pdp | ) | [static] |
PinPoidOwner PinPoid::createAsOwned | ( | poid_t * | pdp | ) | [static] |
PinPoidDb PinPoid::getDb | ( | ) | const |
PinPoidId PinPoid::getId | ( | ) | const |
PinPoidTypeConst PinPoid::getTypeConst | ( | ) | const |
PinPoidType PinPoid::getType | ( | ) | const |
Get the class name piece of the poid.
PinPoidRev PinPoid::getRev | ( | ) | const |
PinBool PinPoid::isTypeOnly | ( | ) | const |
PinPoidOwner PinPoid::clone | ( | ) | const |
int PinPoid::compare | ( | const PinPoidBase & | poid, | |
int | checkRev = 0 | |||
) | const |
PinBool PinPoid::isEqual | ( | const PinPoidBase & | poid, | |
int | checkRev = 0 | |||
) | const |
Compares this object with the poid that is passed in via an owner or observer wrapper. This method returns a boolean unlike compare() which acts like strcmp().
poid | Poid to compare with | |
checkRev | Optional parameter to include the revision for comparison |
void PinPoid::toString | ( | char | buf[], | |
int | bufsize, | |||
int | skiprev = 0 | |||
) | const |
Return a string representation of the poid.
buf | Sharacater buffer to hold the result | |
bufsize | Size of the buffer | |
skiprev | Optional parameter, revision is excluded if skiprev is 1 |
PinBool PinPoid::isNull | ( | ) | const |
const poid_t * PinPoid::get | ( | ) | const |
poid_t* PinPoid::get | ( | ) | const |
poid_t * PinPoid::get | ( | ) |
poid_t * PinPoid::release | ( | ) |
void PinPoid::takeFrom | ( | PinPoid & | other | ) |
Takes over the C poid pointer from the source object. Releases or destroys the C poid it is currently holding.
void PinPoid::copyFrom | ( | const PinPoid & | other | ) |
Points to the C poid pointer from the source object. Releases or destroys the C poid it is currently holding.
void PinPoid::operator= | ( | const PinPoid & | ) | [private] |
Assignment operator explicitly prohibited.
static PinPoidOwner PinPoid::create | ( | PinPoidDb | db, | |
PinPoidTypeConst | type, | |||
PinPoidId | id | |||
) | [static] |
Create a new Poid and access it via the owner C++ wrapper.
db | Database number | |
type | Storable class type | |
id | Instance id |
static PinPoidObserver PinPoid::createAsObserved | ( | poid_t * | pdp | ) | [static] |
static PinPoidOwner PinPoid::createAsOwned | ( | poid_t * | pdp | ) | [static] |
PinPoidDb PinPoid::getDb | ( | ) | const |
PinPoidId PinPoid::getId | ( | ) | const |
PinPoidTypeConst PinPoid::getTypeConst | ( | ) | const |
PinPoidType PinPoid::getType | ( | ) | const |
Get the class name piece of the poid.
PinPoidRev PinPoid::getRev | ( | ) | const |
PinBool PinPoid::isTypeOnly | ( | ) | const |
PinPoidOwner PinPoid::clone | ( | ) | const |
int PinPoid::compare | ( | const PinPoidBase & | poid, | |
int | checkRev = 0 | |||
) | const |
PinBool PinPoid::isEqual | ( | const PinPoidBase & | poid, | |
int | checkRev = 0 | |||
) | const |
Compares this object with the poid that is passed in via an owner or observer wrapper. This method returns a boolean unlike compare() which acts like strcmp().
poid | Poid to compare with | |
checkRev | Optional parameter to include the revision for comparison |
void PinPoid::toString | ( | char | buf[], | |
int | bufsize, | |||
int | skiprev = 0 | |||
) | const |
Return a string representation of the poid.
buf | Sharacater buffer to hold the result | |
bufsize | Size of the buffer | |
skiprev | Optional parameter, revision is excluded if skiprev is 1 |
PinBool PinPoid::isNull | ( | ) | const |
const poid_t* PinPoid::get | ( | ) | const |
poid_t* PinPoid::release | ( | ) |
void PinPoid::takeFrom | ( | PinPoid & | ) |
Takes over the C poid pointer from the source object. Releases or destroys the C poid it is currently holding.
void PinPoid::copyFrom | ( | const PinPoid & | ) |
Points to the C poid pointer from the source object. Releases or destroys the C poid it is currently holding.
void PinPoid::operator= | ( | const PinPoid & | ) | [private] |
Assignment operator explicitly prohibited.
static PinPoidOwner PinPoid::create | ( | PinPoidDb | db, | |
PinPoidTypeConst | type, | |||
PinPoidId | id | |||
) | [static] |
Create a new Poid and access it via the owner C++ wrapper.
db | Database number | |
type | Storable class type | |
id | Instance id |
static PinPoidObserver PinPoid::createAsObserved | ( | poid_t * | pdp | ) | [static] |
static PinPoidObserverConst PinPoid::createAsObservedConst | ( | poid_t * | pdp | ) | [static] |
static PinPoidOwner PinPoid::createAsOwned | ( | poid_t * | pdp | ) | [static] |
PinPoidDb PinPoid::getDb | ( | ) | const |
PinPoidId PinPoid::getId | ( | ) | const |
PinPoidTypeConst PinPoid::getTypeConst | ( | ) | const |
PinPoidType PinPoid::getType | ( | ) | const |
Get the class name piece of the poid.
PinPoidRev PinPoid::getRev | ( | ) | const |
PinBool PinPoid::isTypeOnly | ( | ) | const |
PinPoidOwner PinPoid::clone | ( | ) | const |
int PinPoid::compare | ( | const PinPoidBase & | poid, | |
int | checkRev = 0 | |||
) | const |
PinBool PinPoid::isEqual | ( | const PinPoidBase & | poid, | |
int | checkRev = 0 | |||
) | const |
Compares this object with the poid that is passed in via an owner or observer wrapper. This method returns a boolean unlike compare() which acts like strcmp().
poid | Poid to compare with | |
checkRev | Optional parameter to include the revision for comparison |
void PinPoid::toString | ( | char | buf[], | |
int | bufsize, | |||
int | skiprev = 0 | |||
) | const |
Return a string representation of the poid.
buf | Sharacater buffer to hold the result | |
bufsize | Size of the buffer | |
skiprev | Optional parameter, revision is excluded if skiprev is 1 |
PinBool PinPoid::isNull | ( | ) | const |
const poid_t* PinPoid::get | ( | ) | const |
poid_t* PinPoid::get | ( | ) | const |
poid_t* PinPoid::get | ( | ) |
poid_t* PinPoid::release | ( | ) |
void PinPoid::takeFrom | ( | PinPoid & | ) |
Takes over the C poid pointer from the source object. Releases or destroys the C poid it is currently holding.
void PinPoid::copyFrom | ( | const PinPoid & | ) |
Points to the C poid pointer from the source object. Releases or destroys the C poid it is currently holding.
void PinPoid::operator= | ( | const PinPoid & | ) | [private] |
Assignment operator explicitly prohibited.
static PinPoidOwner PinPoid::create | ( | PinPoidDb | db, | |
PinPoidTypeConst | type, | |||
PinPoidId | id | |||
) | [static] |
Create a new Poid and access it via the owner C++ wrapper.
db | Database number | |
type | Storable class type | |
id | Instance id |
static PinPoidObserver PinPoid::createAsObserved | ( | poid_t * | pdp | ) | [static] |
static PinPoidOwner PinPoid::createAsOwned | ( | poid_t * | pdp | ) | [static] |
PinPoidDb PinPoid::getDb | ( | ) | const |
PinPoidId PinPoid::getId | ( | ) | const |
PinPoidTypeConst PinPoid::getTypeConst | ( | ) | const |
PinPoidType PinPoid::getType | ( | ) | const |
Get the class name piece of the poid.
PinPoidRev PinPoid::getRev | ( | ) | const |
PinBool PinPoid::isTypeOnly | ( | ) | const |
PinPoidOwner PinPoid::clone | ( | ) | const |
int PinPoid::compare | ( | const PinPoidBase & | poid, | |
int | checkRev = 0 | |||
) | const |
PinBool PinPoid::isEqual | ( | const PinPoidBase & | poid, | |
int | checkRev = 0 | |||
) | const |
Compares this object with the poid that is passed in via an owner or observer wrapper. This method returns a boolean unlike compare() which acts like strcmp().
poid | Poid to compare with | |
checkRev | Optional parameter to include the revision for comparison |
void PinPoid::toString | ( | char | buf[], | |
int | bufsize, | |||
int | skiprev = 0 | |||
) | const |
Return a string representation of the poid.
buf | Sharacater buffer to hold the result | |
bufsize | Size of the buffer | |
skiprev | Optional parameter, revision is excluded if skiprev is 1 |
PinBool PinPoid::isNull | ( | ) | const |
const poid_t* PinPoid::get | ( | ) | const |
poid_t* PinPoid::release | ( | ) |
void PinPoid::takeFrom | ( | PinPoid & | ) |
Takes over the C poid pointer from the source object. Releases or destroys the C poid it is currently holding.
void PinPoid::copyFrom | ( | const PinPoid & | ) |
Points to the C poid pointer from the source object. Releases or destroys the C poid it is currently holding.
void PinPoid::operator= | ( | const PinPoid & | ) | [private] |
Assignment operator explicitly prohibited.
PCMCPP_API std::ostream & operator<< | ( | std::ostream & | os, | |
PinPoidBase & | flist | |||
) | [related] |
Write the string form of the poid to the output stream.
static const char PinPoid::SEPARATOR_CHAR = ' ' [static] |
Character separating the various pieces of a stringified poid.
PinBool PinPoid::m_owns [private] |
Indicator whether or not the C poid pointer is owned by this obj.
poid_t * PinPoid::m_poidp [private] |
pointer to the underlying C-style poid