![]() |
Belle II Software release-09-00-04
|


Public Member Functions | |
| AbstractDBObject (const AbstractDBObject &obj) | |
| const AbstractDBObject & | operator= (const AbstractDBObject &object) |
| Operator =. | |
| const std::string & | getPath () const |
| void | setPath (const std::string &path) |
| int | getId () const |
| void | setId (int id) |
| const std::string & | getName () const |
| void | setName (const std::string &name) |
| int | getIndex () const |
| void | setIndex (int index) |
| DBField::NameList & | getFieldNames () |
| const DBField::NameList & | getFieldNames () const |
| DBField::Property | getProperty (const std::string &name) const |
| bool | hasField (const std::string &name) const |
| bool | hasValue (const std::string &name) const |
| bool | hasText (const std::string &name) const |
| bool | hasObject (const std::string &name) const |
| void | add (const std::string &name, DBField::Property pro) |
| void | setValue (const std::string &name, const std::string &value) |
| void | setText (const std::string &name, const std::string &value) |
| bool | getBool (const std::string &name, int index=0) const |
| char | getChar (const std::string &name, int index=0) const |
| short | getShort (const std::string &name, int index=0) const |
| int | getInt (const std::string &name, int index=0) const |
| long long | getLong (const std::string &name, int index=0) const |
| float | getFloat (const std::string &name, int index=0) const |
| double | getDouble (const std::string &name, int index=0) const |
| void | addBool (const std::string &name, bool value) |
| void | addChar (const std::string &name, char value) |
| void | addShort (const std::string &name, short value) |
| void | addInt (const std::string &name, int value) |
| void | addLong (const std::string &name, long long value) |
| void | addFloat (const std::string &name, float value) |
| void | addDouble (const std::string &name, double value) |
| void | setBool (const std::string &name, bool value, int index=0) |
| void | setChar (const std::string &name, int value, int index=0) |
| void | setShort (const std::string &name, int value, int index=0) |
| void | setInt (const std::string &name, int value, int index=0) |
| void | setLong (const std::string &name, long long value, int index=0) |
| void | setFloat (const std::string &name, float value, int index=0) |
| void | setDouble (const std::string &name, double value, int index=0) |
| const std::string | getValueText (const std::string &name) const |
| virtual const void * | getValue (const std::string &name) const =0 |
| virtual const std::string & | getText (const std::string &name) const =0 |
| virtual void | addText (const std::string &name, const std::string &value)=0 |
| virtual void | addValue (const std::string &name, const void *value, DBField::Type type, int length)=0 |
| virtual void | setValue (const std::string &name, const void *value, int index)=0 |
| virtual void | setValueText (const std::string &name, const std::string &value) |
| virtual void | readObject (Reader &)=0 |
| virtual void | writeObject (Writer &) const =0 |
Protected Member Functions | |
| virtual void | reset () |
Private Member Functions | |
| template<typename T > | |
| T | getD (const std::string &name, int index=0) const |
Private Attributes | |
| int | m_index |
| std::string | m_path |
| int | m_id |
| std::string | m_name |
| DBField::NameList | m_name_v |
| DBField::PropertyList | m_pro_m |
Definition at line 25 of file AbstractDBObject.h.
| AbstractDBObject | ( | ) |
Definition at line 17 of file AbstractDBObject.cc.
| AbstractDBObject | ( | const AbstractDBObject & | obj | ) |
Definition at line 22 of file AbstractDBObject.cc.
|
virtual |
Definition at line 27 of file AbstractDBObject.cc.
| void add | ( | const std::string & | name, |
| DBField::Property | pro | ||
| ) |
Definition at line 88 of file AbstractDBObject.cc.
|
inlineprivate |
Definition at line 103 of file AbstractDBObject.h.
|
inline |
Definition at line 46 of file AbstractDBObject.h.
|
inline |
Definition at line 47 of file AbstractDBObject.h.
|
inline |
Definition at line 40 of file AbstractDBObject.h.
|
inline |
Definition at line 44 of file AbstractDBObject.h.
|
inline |
Definition at line 42 of file AbstractDBObject.h.
|
inline |
Definition at line 38 of file AbstractDBObject.h.
| DBField::Property getProperty | ( | const std::string & | name | ) | const |
Definition at line 54 of file AbstractDBObject.cc.
| const std::string getValueText | ( | const std::string & | name | ) | const |
Definition at line 96 of file AbstractDBObject.cc.
| bool hasField | ( | const std::string & | name | ) | const |
Definition at line 61 of file AbstractDBObject.cc.
| bool hasObject | ( | const std::string & | name | ) | const |
Definition at line 81 of file AbstractDBObject.cc.
| bool hasText | ( | const std::string & | name | ) | const |
Definition at line 75 of file AbstractDBObject.cc.
| bool hasValue | ( | const std::string & | name | ) | const |
Definition at line 67 of file AbstractDBObject.cc.
| const AbstractDBObject & operator= | ( | const AbstractDBObject & | object | ) |
Operator =.
Definition at line 32 of file AbstractDBObject.cc.
|
protectedvirtual |
Definition at line 45 of file AbstractDBObject.cc.
|
inline |
Definition at line 41 of file AbstractDBObject.h.
|
inline |
Definition at line 45 of file AbstractDBObject.h.
|
inline |
Definition at line 43 of file AbstractDBObject.h.
|
inline |
Definition at line 39 of file AbstractDBObject.h.
|
inline |
Definition at line 55 of file AbstractDBObject.h.
|
virtual |
Definition at line 117 of file AbstractDBObject.cc.
|
private |
Definition at line 96 of file AbstractDBObject.h.
|
private |
Definition at line 94 of file AbstractDBObject.h.
|
private |
Definition at line 97 of file AbstractDBObject.h.
|
private |
Definition at line 98 of file AbstractDBObject.h.
|
private |
Definition at line 95 of file AbstractDBObject.h.
|
private |
Definition at line 99 of file AbstractDBObject.h.