BALL
1.4.79
|
#include <BALL/CONCEPT/object.h>
Public Member Functions | |
Construction and Destruction | |
Object () | |
Default constructor. More... | |
Object (const Object &object) | |
Copy constructor. More... | |
virtual | ~Object () |
Destructor. More... | |
virtual void | clear () |
Clear function of the OCI, doing nothing here. More... | |
Assignment | |
const Object & | operator= (const Object &) |
Comparison operators | |
bool | operator== (const Object &object) const |
bool | operator!= (const Object &object) const |
bool | operator< (const Object &object) const |
bool | operator<= (const Object &object) const |
bool | operator>= (const Object &object) const |
bool | operator> (const Object &object) const |
int | compare (const Object &object) const |
Debugging and Diagnostics | |
virtual bool | isValid () const |
virtual void | dump (::std::ostream &s=std::cout, Size depth=0) const |
Public Member Functions inherited from BALL::AutoDeletable | |
virtual | ~AutoDeletable () |
void * | operator new (size_t size) |
void | operator delete (void *ptr) |
void * | operator new (size_t size, void *ptr) |
void | operator delete (void *ptr, void *) |
bool | isAutoDeletable () const |
void | setAutoDeletable (bool enable) |
Handle Management | |
Handle | getHandle () const |
static Handle | getNextHandle () |
static Handle | getNewHandle () |
Additional Inherited Members | |
Static Public Member Functions inherited from BALL::AutoDeletable | |
static void | clearLastPtr () |
Protected Member Functions inherited from BALL::AutoDeletable | |
AutoDeletable () | |
AutoDeletable (const AutoDeletable &auto_deletable, bool deep=false) | |
Generic object class. This class provides unique handles for every object that is an instance of a derived class of object. Together with the BALL object manager this class also provides a double linked list of all objects.
BALL::Object::Object | ( | ) |
Default constructor.
BALL::Object::Object | ( | const Object & | object | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
Clear function of the OCI, doing nothing here.
Reimplemented in BALL::Atom, BALL::Bond, BALL::NamedProperty, BALL::PDBAtom, BALL::Composite, BALL::TVector2< T >, BALL::TVector2< float >, BALL::Residue, BALL::PDBRecords, BALL::VIEW::RepresentationManager, BALL::Nucleotide, BALL::SecondaryStructure, BALL::AtomContainer, BALL::NucleicAcid, BALL::Protein, and BALL::PDBInfo.
int BALL::Object::compare | ( | const Object & | object | ) | const |
Compare the handle of this object with the handle of another.
object | an Object |
object
's handle is greater and 1 if this's handle is greater.
|
virtual |
Handle BALL::Object::getHandle | ( | ) | const |
Return the global handle of this object.
|
static |
Return the next available handle and increase the global handle counter.
|
static |
Return the next available handle without changing the global handle counter.
|
virtual |
Less than operator. This method checks whether the handle of this object is less than the handle of object
object | an Object |
object
Less than or equal operator. This method checks whether the handle of this object is less than or equal to the handle of object
object | an Object |
object
Assignment operator. This method does not assign anything! Implemented just for the OCI.
object | an object |
Greater than operator. This method checks whether the handle of this object is greater than the handle of object
object | an Object |
object
Greater than or equal operator. This method checks whether the handle of this object is greater than or equal to the handle of object
object | an Object |
object