Atlas_Objects_Operation_CombineData (3) - Linux Manuals

Atlas_Objects_Operation_CombineData: Combine existing objects into new objects.

NAME

Atlas::Objects::Operation::CombineData - Combine existing objects into new objects.

SYNOPSIS


#include <Operation.h>

Inherits Atlas::Objects::Operation::CreateData.

Public Member Functions


virtual CombineData * copy () const
Copy this object.
virtual bool instanceOf (int classNo) const
Is this instance of some class?
virtual void iterate (int &current_class, std::string &attr) const
Iterate over the attributes of this instance.
virtual void free ()
Free an instance of this class, returning it to the memory pool.
virtual CombineData * getDefaultObject ()
Get the reference object that contains the default values for attributes of instances of the same class as this object.

Static Public Member Functions


static CombineData * alloc ()
Allocate a new instance of this class, using an existing instance if available.
static CombineData * getDefaultObjectInstance ()
Get the reference object that contains the default values for attributes of instances of this class.

Protected Member Functions


CombineData (CombineData *defaults=NULL)
Construct a CombineData class definition.
virtual ~CombineData ()
Default destructor.

Detailed Description

Combine existing objects into new objects.

Member Function Documentation

static CombineData* Atlas::Objects::Operation::CombineData::alloc () [static]

Allocate a new instance of this class, using an existing instance if available.

This is the key function for implementing the memory pool for the Atlas::Objects API.

Reimplemented from Atlas::Objects::Operation::CreateData.

virtual void Atlas::Objects::Operation::CombineData::free () [virtual]

Free an instance of this class, returning it to the memory pool.

This function in combination with alloc() handle the memory pool.

Reimplemented from Atlas::Objects::Operation::CreateData.

virtual CombineData* Atlas::Objects::Operation::CombineData::getDefaultObject () [virtual]

Get the reference object that contains the default values for attributes of instances of the same class as this object.

Returns:

a pointer to the default object.

Reimplemented from Atlas::Objects::Operation::CreateData.

static CombineData* Atlas::Objects::Operation::CombineData::getDefaultObjectInstance () [static]

Get the reference object that contains the default values for attributes of instances of this class.

Returns:

a pointer to the default object.

Reimplemented from Atlas::Objects::Operation::CreateData.

Author

Generated automatically by Doxygen for Atlas-C++ from the source code.