Common base class for heavy weight
The base class for non value-type objects in
IMP. Anything inheriting from IMP::Object has the following properties:
Objects can be outputted to standard streams using operator<<() which will call the Object::show() method.
newin C++ and passed using pointers and stored using IMP::Pointer objects. Note that you have to be careful of cycles and so must use IMP::WeakPointer objects to break cycles. See IMP::RefCounted for more information on reference counting. IMP_NEW() can help shorten creating a ref counted pointer. See IMP::Pointer for more information.
Inherited by IMP::algebra::NearestNeighborD< D >, IMP::atom::CHARMMResidueTopologyBase, IMP::atom::CHARMMSegmentTopology, IMP::atom::CHARMMTopology, IMP::atom::ForceFieldParameters, IMP::atom::Mol2Selector, IMP::atom::PDBSelector, IMP::atom::SmoothingFunction, IMP::Configuration, IMP::ConfigurationSet, IMP::Container, IMP::core::ClosePairsFinder, IMP::core::Mover, IMP::display::Geometry, IMP::display::Writer, IMP::domino::ParticleStates, IMP::domino::ParticleStatesTable, IMP::domino::SubsetFilter, IMP::domino::SubsetFilterTable, IMP::domino::SubsetStatesTable, IMP::em::CoarseCC, IMP::em::DensityMap, IMP::em::MapReaderWriter, IMP::FailureHandler, IMP::Model, IMP::multifit::AssemblyHeader, IMP::multifit::ComponentHeader, IMP::multifit::DataPoints, IMP::multifit::ProbabilisticAnchorGraph, IMP::multifit::SettingsData, IMP::Optimizer, IMP::OptimizerState, IMP::PairFilter, IMP::PairModifier, IMP::PairScore, IMP::QuadFilter, IMP::QuadModifier, IMP::QuadScore, IMP::Refiner, IMP::Restraint, IMP::Sampler, IMP::ScoreState, IMP::SingletonFilter, IMP::SingletonModifier, IMP::SingletonScore, IMP::statistics::Embedding, IMP::statistics::Metric, IMP::statistics::PartitionalClustering, IMP::TripletFilter, IMP::TripletModifier, IMP::TripletScore, and IMP::UnaryFunction.
|virtual std::string||get_type_name () const =0|
|Return a string identifying the type of the object. |
|virtual IMP::VersionInfo||get_version_info () const =0|
|Get information about the module and version of the object. |
|virtual void||set_log_level (LogLevel l)|
|Set the logging level used in this object. |
|void||set_was_used (bool tf) const|
|void||show (std::ostream &out=std::cout) const|
|Print out one or more lines of text describing the object. |
All objects have names to aid in debugging and inspection of the state of the system. These names are not necessarily unique and should not be used to store data or as keys into a table. Use the address of the object instead since objects cannot be copied.
|const std::string &||get_name () const|
|void||set_name (std::string name)|
|Object (std::string name="Object %1%")|
|virtual void IMP::Object::set_log_level||(||LogLevel||l||)||
Set the logging level used in this object.
Each object can be assigned a different log level in order to, for example, suppress messages for verbose and uninteresting objects. If set to DEFAULT, the global level as returned by IMP::get_log_level() is used, otherwise the local one is used. Methods in classes inheriting from Object should start with IMP_OBJECT_LOG to change the log level to the local one for this object and increase the current indent.