IMP logo

Object.h File Reference

A shared base class to help in debugging and things. More...

Include dependency graph for Object.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Data Structures

class  IMP::Object
 Common base class for heavy weight IMP objects. More...

Namespaces

namespace  IMP
 The IMP kernel provides base classes and key shared functionality.

Defines

#define IMP_CHECK_OBJECT(obj)
 Perform some basic validity checks on the object for memory debugging.
#define IMP_OBJECT_LOG
 Set the log level to the object's log level.

Typedefs

typedef VectorOfRefCounted
< Object * > 
IMP::Objects
 A class which is used for representing collections of Object objects.
typedef std::vector< Object * > IMP::ObjectsTemp
 A type to use when returning sets of objects so as to avoid refcounting.

Functions

template<class O , class I >
O * IMP::object_cast (I *o)

Detailed Description

A shared base class to help in debugging and things.

Copyright 2007-2010 IMP Inventors. All rights reserved.


Define Documentation

#define IMP_OBJECT_LOG

Value:

SetLogState log_state_guard__(get_log_level());\
  IncreaseIndent object_increase_indent__
Set the log level to the object's log level.

All non-trivial Object methods should start with this. It creates a RAII-style object which sets the log level to the local one, if appropriate, until it goes out of scope.


Generated on Mon Mar 8 23:06:27 2010 for IMP by doxygen 1.5.8