#include <EvmsAccess.h>

Public Member Functions | |
| EvmsObject () | |
| EvmsObject (object_handle_t id) | |
| virtual | ~EvmsObject () |
| ObjType | type () const |
| const string & | name () const |
| object_handle_t | id () const |
| void | disownPtr () |
| void | output (std::ostream &Stream) const |
| unsigned long long | sizeK () const |
| bool | isDataType () const |
| bool | isData () const |
| bool | isFreespace () const |
| virtual void | addRelation (EvmsAccess *Acc) |
Protected Member Functions | |
| void | init () |
Protected Attributes | |
| bool | own_ptr |
| bool | is_data |
| bool | is_freespace |
| unsigned long long | size |
| ObjType | typ |
| object_handle_t | idt |
| string | nam |
| handle_object_info_t * | info_p |
| storage::EvmsObject::EvmsObject | ( | ) | [inline] |
References init().
| EvmsObject::EvmsObject | ( | object_handle_t | id | ) |
| ObjType storage::EvmsObject::type | ( | ) | const [inline] |
| const string& storage::EvmsObject::name | ( | ) | const [inline] |
References nam.
Referenced by storage::EvmsContainerObject::addRelation(), and storage::EvmsContainerObject::EvmsContainerObject().
| object_handle_t storage::EvmsObject::id | ( | ) | const [inline] |
References idt.
Referenced by storage::EvmsAccess::changeLvSize(), storage::EvmsAccess::createCompatVol(), storage::EvmsAccess::deleteCo(), storage::EvmsContainerObject::EvmsContainerObject(), storage::EvmsDataObject::EvmsDataObject(), storage::EvmsVolumeObject::EvmsVolumeObject(), storage::EvmsAccess::extendCo(), storage::EvmsAccess::findContainer(), storage::EvmsAccess::findRegion(), storage::EvmsAccess::findSegment(), storage::EvmsAccess::findVolume(), storage::EvmsVolumeObject::setConsumedBy(), and storage::EvmsAccess::shrinkCo().
| void storage::EvmsObject::disownPtr | ( | ) | [inline] |
References own_ptr.
Referenced by storage::EvmsContainerObject::EvmsContainerObject(), storage::EvmsDataObject::EvmsDataObject(), and storage::EvmsVolumeObject::EvmsVolumeObject().
| void storage::EvmsObject::output | ( | std::ostream & | Stream | ) | const |
Reimplemented in storage::EvmsDataObject, storage::EvmsContainerObject, and storage::EvmsVolumeObject.
Referenced by storage::operator<<().
| unsigned long long storage::EvmsObject::sizeK | ( | ) | const [inline] |
References size.
Referenced by storage::EvmsContainerObject::addRelation(), and storage::EvmsAccess::changeLvSize().
| bool EvmsObject::isDataType | ( | ) | const |
References storage::EVMS_DISK, storage::EVMS_OBJ, storage::EVMS_REGION, storage::EVMS_SEGMENT, and typ.
| bool storage::EvmsObject::isData | ( | ) | const [inline] |
| bool storage::EvmsObject::isFreespace | ( | ) | const [inline] |
| virtual void storage::EvmsObject::addRelation | ( | EvmsAccess * | Acc | ) | [inline, virtual] |
Reimplemented in storage::EvmsDataObject, storage::EvmsContainerObject, and storage::EvmsVolumeObject.
| void EvmsObject::init | ( | ) | [protected] |
Reimplemented in storage::EvmsDataObject, storage::EvmsContainerObject, and storage::EvmsVolumeObject.
References storage::EVMS_UNKNOWN, idt, info_p, is_data, is_freespace, nam, own_ptr, size, and typ.
Referenced by EvmsObject().
bool storage::EvmsObject::own_ptr [protected] |
bool storage::EvmsObject::is_data [protected] |
Referenced by storage::EvmsDataObject::EvmsDataObject(), init(), and isData().
bool storage::EvmsObject::is_freespace [protected] |
Referenced by storage::EvmsDataObject::EvmsDataObject(), init(), and isFreespace().
unsigned long long storage::EvmsObject::size [protected] |
ObjType storage::EvmsObject::typ [protected] |
Referenced by EvmsObject(), init(), isDataType(), and type().
object_handle_t storage::EvmsObject::idt [protected] |
string storage::EvmsObject::nam [protected] |
Referenced by EvmsObject(), storage::EvmsVolumeObject::EvmsVolumeObject(), init(), and name().
handle_object_info_t* storage::EvmsObject::info_p [protected] |
1.5.5