sc::Identifier(3) Library Functions Manual sc::Identifier(3) NAME sc::Identifier - Identifier's are used to distinguish and order objects. SYNOPSIS #include <identity.h> Public Member Functions Identifier () Create an Identifier for a null object. Identifier (const Identity *i) Create an Identifier for the given object. Identifier (const Identifier &i) Create an Identifier for the given object. ~Identifier () The destructor does nothing. void operator= (const Identifier &i) Assign to the given Identifier. int operator< (const Identifier &i) const Less than. int operator> (const Identifier &i) const Greater than. int operator== (const Identifier &i) const Equal. int operator<= (const Identifier &i) const Less than or equal. int operator>= (const Identifier &i) const Greater than or equal. int operator!= (const Identifier &i) const Not equal. void print (std::ostream &) const Detailed Description Identifier's are used to distinguish and order objects. On many architectures a pointer to the object will suffice, but the C++ standard only guarantees that this works for two pointers pointing within the same structure or array. Classes need to inherit from Identity to use this mechanism. Identity, Identifier, and the shorthand boolean operations may have to be modified for certain architectures. Constructor & Destructor Documentation sc::Identifier::Identifier () [inline] Create an Identifier for a null object. Referenced by Identifier(), operator!=(), operator<(), operator<=(), opera- tor=(), operator==(), operator>(), and operator>=(). sc::Identifier::Identifier (const Identifier & i) [inline] Create an Identifier for the given object. References Identifier(). Member Function Documentation int sc::Identifier::operator!= (const Identifier & i) const [inline] Not equal. References Identifier(). int sc::Identifier::operator< (const Identifier & i) const [inline] Less than. References Identifier(). int sc::Identifier::operator<= (const Identifier & i) const [inline] Less than or equal. References Identifier(). void sc::Identifier::operator= (const Identifier & i) [inline] Assign to the given Identifier. References Identifier(). int sc::Identifier::operator== (const Identifier & i) const [inline] Equal. References Identifier(). int sc::Identifier::operator> (const Identifier & i) const [inline] Greater than. References Identifier(). int sc::Identifier::operator>= (const Identifier & i) const [inline] Greater than or equal. References Identifier(). Author Generated automatically by Doxygen for MPQC from the source code. MPQC Version 2.3.1 sc::Identifier(3)
NAME | SYNOPSIS | Detailed Description | Constructor & Destructor Documentation | Member Function Documentation | Author
Want to link to this manual page? Use this URL:
<https://man.FreeBSD.org/cgi/man.cgi?query=sc_Identifier&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>