.TH "sc::Identifier" 3 "Sun Oct 4 2020" "Version 2.3.1" "MPQC" \" -*- nroff -*- .ad l .nh .SH NAME sc::Identifier \- \fBIdentifier\fP's are used to distinguish and order objects\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBIdentifier\fP ()" .br .RI "Create an \fBIdentifier\fP for a null object\&. " .ti -1c .RI "\fBIdentifier\fP (const \fBIdentity\fP *i)" .br .RI "Create an \fBIdentifier\fP for the given object\&. " .ti -1c .RI "\fBIdentifier\fP (const \fBIdentifier\fP &i)" .br .RI "Create an \fBIdentifier\fP for the given object\&. " .ti -1c .RI "\fB~Identifier\fP ()" .br .RI "The destructor does nothing\&. " .ti -1c .RI "void \fBoperator=\fP (const \fBIdentifier\fP &i)" .br .RI "Assign to the given \fBIdentifier\fP\&. " .ti -1c .RI "int \fBoperator<\fP (const \fBIdentifier\fP &i) const" .br .RI "Less than\&. " .ti -1c .RI "int \fBoperator>\fP (const \fBIdentifier\fP &i) const" .br .RI "Greater than\&. " .ti -1c .RI "int \fBoperator==\fP (const \fBIdentifier\fP &i) const" .br .RI "Equal\&. " .ti -1c .RI "int \fBoperator<=\fP (const \fBIdentifier\fP &i) const" .br .RI "Less than or equal\&. " .ti -1c .RI "int \fBoperator>=\fP (const \fBIdentifier\fP &i) const" .br .RI "Greater than or equal\&. " .ti -1c .RI "int \fBoperator!=\fP (const \fBIdentifier\fP &i) const" .br .RI "Not equal\&. " .ti -1c .RI "void \fBprint\fP (std::ostream &) const" .br .in -1c .SH "Detailed Description" .PP \fBIdentifier\fP'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 \fBIdentity\fP to use this mechanism\&. \fBIdentity\fP, \fBIdentifier\fP, and the shorthand boolean operations may have to be modified for certain architectures\&. .br .SH "Author" .PP Generated automatically by Doxygen for MPQC from the source code\&.