Atlas-C++
Public Member Functions | Static Public Attributes | Protected Member Functions | Friends | List of all members
Atlas::Objects::Operation::DeleteData Class Reference

Delete something. More...

#include <Operation.h>

Inheritance diagram for Atlas::Objects::Operation::DeleteData:
Atlas::Objects::Operation::ActionData Atlas::Objects::Operation::RootOperationData Atlas::Objects::RootData Atlas::Objects::BaseObjectData

Public Member Functions

DeleteDatacopy () const override
 Copy this object.
 
bool instanceOf (int classNo) const override
 Is this instance of some class?
 
void iterate (int &current_class, std::string &attr) const override
 Iterate over the attributes of this instance.
 
- Public Member Functions inherited from Atlas::Objects::Operation::RootOperationData
RootOperationDatacopy () const override
 Copy this object.
 
bool instanceOf (int classNo) const override
 Is this instance of some class?
 
int copyAttr (const std::string &name, Atlas::Message::Element &attr) const override
 Retrieve the attribute "name". More...
 
void setAttr (const std::string &name, const Atlas::Message::Element &attr) override
 Set the attribute "name" to the value given by"attr".
 
void removeAttr (const std::string &name) override
 Remove the attribute "name". This will not work for static attributes.
 
void sendContents (Atlas::Bridge &b) const override
 Send the contents of this object to a Bridge.
 
void addToMessage (Atlas::Message::MapType &) const override
 Write this object to an existing Element.
 
void setSerialno (long val)
 Set the "serialno" attribute.
 
void setRefno (long val)
 Set the "refno" attribute.
 
void setFrom (const std::string &val)
 Set the "from" attribute.
 
void setTo (const std::string &val)
 Set the "to" attribute.
 
void setSeconds (double val)
 Set the "seconds" attribute.
 
void setFutureSeconds (double val)
 Set the "future_seconds" attribute.
 
void setArgs (const std::vector< Root > &val)
 Set the "args" attribute.
 
void setArgsAsList (const Atlas::Message::ListType &val)
 Set the "args" attribute AsList.
 
template<class ObjectData >
void setArgs1 (const SmartPtr< ObjectData > &val)
 Set the first member of "args".
 
long getSerialno () const
 Retrieve the "serialno" attribute.
 
long & modifySerialno ()
 Retrieve the "serialno" attribute as a non-const reference.
 
long getRefno () const
 Retrieve the "refno" attribute.
 
long & modifyRefno ()
 Retrieve the "refno" attribute as a non-const reference.
 
const std::string & getFrom () const
 Retrieve the "from" attribute.
 
std::string & modifyFrom ()
 Retrieve the "from" attribute as a non-const reference.
 
const std::string & getTo () const
 Retrieve the "to" attribute.
 
std::string & modifyTo ()
 Retrieve the "to" attribute as a non-const reference.
 
double getSeconds () const
 Retrieve the "seconds" attribute.
 
double & modifySeconds ()
 Retrieve the "seconds" attribute as a non-const reference.
 
double getFutureSeconds () const
 Retrieve the "future_seconds" attribute.
 
double & modifyFutureSeconds ()
 Retrieve the "future_seconds" attribute as a non-const reference.
 
const std::vector< Root > & getArgs () const
 Retrieve the "args" attribute.
 
std::vector< Root > & modifyArgs ()
 Retrieve the "args" attribute as a non-const reference.
 
const Atlas::Message::ListType getArgsAsList () const
 Retrieve the "args" attribute AsList.
 
bool isDefaultSerialno () const
 Is "serialno" value default?
 
bool isDefaultRefno () const
 Is "refno" value default?
 
bool isDefaultFrom () const
 Is "from" value default?
 
bool isDefaultTo () const
 Is "to" value default?
 
bool isDefaultSeconds () const
 Is "seconds" value default?
 
bool isDefaultFutureSeconds () const
 Is "future_seconds" value default?
 
bool isDefaultArgs () const
 Is "args" value default?
 
- Public Member Functions inherited from Atlas::Objects::RootData
void setId (const std::string &val)
 Set the "id" attribute.
 
void setParent (const std::string &val)
 Set the "parent" attribute.
 
void setStamp (double val)
 Set the "stamp" attribute.
 
void setObjtype (const std::string &val)
 Set the "objtype" attribute.
 
void setName (const std::string &val)
 Set the "name" attribute.
 
const std::string & getId () const
 Retrieve the "id" attribute.
 
std::string & modifyId ()
 Retrieve the "id" attribute as a non-const reference.
 
const std::string & getParent () const
 Retrieve the "parent" attribute.
 
std::string & modifyParent ()
 Retrieve the "parent" attribute as a non-const reference.
 
double getStamp () const
 Retrieve the "stamp" attribute.
 
double & modifyStamp ()
 Retrieve the "stamp" attribute as a non-const reference.
 
const std::string & getObjtype () const
 Retrieve the "objtype" attribute.
 
std::string & modifyObjtype ()
 Retrieve the "objtype" attribute as a non-const reference.
 
const std::string & getName () const
 Retrieve the "name" attribute.
 
std::string & modifyName ()
 Retrieve the "name" attribute as a non-const reference.
 
bool isDefaultId () const
 Is "id" value default?
 
bool isDefaultParent () const
 Is "parent" value default?
 
bool isDefaultStamp () const
 Is "stamp" value default?
 
bool isDefaultObjtype () const
 Is "objtype" value default?
 
bool isDefaultName () const
 Is "name" value default?
 
- Public Member Functions inherited from Atlas::Objects::BaseObjectData
 BaseObjectData (BaseObjectData *defaults)
 Construct a new BaseObjectData from a subclass. More...
 
int getClassNo () const
 Get class number:
 
int32_t getAttrFlags () const
 
bool hasAttr (const std::string &name) const
 Check whether the attribute "name" exists.
 
bool hasAttrFlag (int flag) const
 Check whether the attribute "name" exists.
 
const Atlas::Message::Element getAttr (const std::string &name) const
 Retrieve the attribute "name". More...
 
virtual void removeAttrFlag (int flag)
 Remove the attribute "name".
 
Atlas::Message::MapType asMessage () const
 Convert this object to a Object. More...
 
iterator begin ()
 
iterator end ()
 
iterator find (const std::string &)
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator find (const std::string &) const
 

Static Public Attributes

static Allocator< DeleteDataallocator
 
- Static Public Attributes inherited from Atlas::Objects::Operation::ActionData
static Allocator< ActionDataallocator
 
- Static Public Attributes inherited from Atlas::Objects::Operation::RootOperationData
static Allocator< RootOperationDataallocator
 
- Static Public Attributes inherited from Atlas::Objects::RootData
static Allocator< RootDataallocator
 

Protected Member Functions

 DeleteData (DeleteData *defaults=nullptr)
 Construct a DeleteData class definition.
 
 ~DeleteData () override=default
 Default destructor.
 
void reset () override
 Resets the object as it's returned to the pool.
 
void free () override
 Free an instance of this class, returning it to the memory pool. More...
 
- Protected Member Functions inherited from Atlas::Objects::Operation::ActionData
 ActionData (ActionData *defaults=nullptr)
 Construct a ActionData class definition.
 
 ~ActionData () override=default
 Default destructor.
 
- Protected Member Functions inherited from Atlas::Objects::Operation::RootOperationData
 RootOperationData (RootOperationData *defaults=nullptr)
 Construct a RootOperationData class definition.
 
 ~RootOperationData () override=default
 Default destructor.
 
int getAttrClass (const std::string &name) const override
 Find the class which contains the attribute "name".
 
int32_t getAttrFlag (const std::string &name) const override
 Find the flag for the attribute "name".
 
void sendSerialno (Atlas::Bridge &) const
 Send the "serialno" attribute to an Atlas::Bridge.
 
void sendRefno (Atlas::Bridge &) const
 Send the "refno" attribute to an Atlas::Bridge.
 
void sendFrom (Atlas::Bridge &) const
 Send the "from" attribute to an Atlas::Bridge.
 
void sendTo (Atlas::Bridge &) const
 Send the "to" attribute to an Atlas::Bridge.
 
void sendSeconds (Atlas::Bridge &) const
 Send the "seconds" attribute to an Atlas::Bridge.
 
void sendFutureSeconds (Atlas::Bridge &) const
 Send the "future_seconds" attribute to an Atlas::Bridge.
 
void sendArgs (Atlas::Bridge &) const
 Send the "args" attribute to an Atlas::Bridge.
 
void iterate (int &current_class, std::string &attr) const override
 Iterate over the attributes of this instance.
 
void reset () override
 Resets the object as it's returned to the pool.
 
void free () override
 Free an instance of this class, returning it to the memory pool. More...
 
- Protected Member Functions inherited from Atlas::Objects::RootData
 RootData (RootData *defaults=nullptr)
 Construct a RootData class definition.
 
 ~RootData () override=default
 Default destructor.
 
void sendId (Atlas::Bridge &) const
 Send the "id" attribute to an Atlas::Bridge.
 
void sendParent (Atlas::Bridge &) const
 Send the "parent" attribute to an Atlas::Bridge.
 
void sendStamp (Atlas::Bridge &) const
 Send the "stamp" attribute to an Atlas::Bridge.
 
void sendObjtype (Atlas::Bridge &) const
 Send the "objtype" attribute to an Atlas::Bridge.
 
void sendName (Atlas::Bridge &) const
 Send the "name" attribute to an Atlas::Bridge.
 
- Protected Member Functions inherited from Atlas::Objects::BaseObjectData
void incRef ()
 
void decRef ()
 

Friends

template<typename >
class ::Atlas::Objects::Allocator
 

Additional Inherited Members

- Protected Attributes inherited from Atlas::Objects::Operation::RootOperationData
long attr_serialno
 Serial number.
 
long attr_refno
 Reference to serial number.
 
std::string attr_from
 Source of message/operation.
 
std::string attr_to
 Target of message/operation.
 
double attr_seconds
 Time in seconds.
 
double attr_future_seconds
 Time in seconds to add current time.
 
std::vector< Rootattr_args
 List of arguments this operation has.
 
- Protected Attributes inherited from Atlas::Objects::RootData
std::string attr_id
 Id of object.
 
std::string attr_parent
 The object this inherits attributes from.
 
double attr_stamp
 Last time this object was modified.
 
std::string attr_objtype
 What kind of object this is.
 
std::string attr_name
 Name of object.
 
- Protected Attributes inherited from Atlas::Objects::BaseObjectData
int m_class_no
 
int m_refCount
 
BaseObjectDatam_defaults
 The default instance, acting as a prototype for all other instances.
 
BaseObjectDatam_next
 The next instance, if this instance has been freed up.
 
std::map< std::string, Atlas::Message::Elementm_attributes
 
int32_t m_attrFlags
 

Detailed Description

Delete something.

.This is base operation for all other operations and defines basic attributes. You can use this as starting point for browsing whole operation hiearchy. refno refers to operation this is reply for. In examples all attributes that are just as examples (and thus world specific) are started with 'e_'.

Member Function Documentation

◆ free()

void Atlas::Objects::Operation::DeleteData::free ( )
overrideprotectedvirtual

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::ActionData.


The documentation for this class was generated from the following file:

Copyright 2000-2004 the respective authors.

This document can be licensed under the terms of the GNU Free Documentation License or the GNU General Public License and may be freely distributed under the terms given by one of these licenses.