![]() |
ATLAS Offline Software
|
An implementation of the ICollectionColumn interface for retrieving a description of a column of a collection. More...
#include <CollectionSvc/CollectionColumn.h>
Public Member Functions | |
| CollectionColumn () | |
| Default constructor. | |
| CollectionColumn (const std::string &name, const std::string &type, int maxSize=0, bool sizeIsFixed=true) | |
| Constructor that takes the column properties as input. | |
| CollectionColumn (const CollectionColumn &rhs) | |
| Copy constructor. | |
| ~CollectionColumn () | |
| Default destructor. | |
| CollectionColumn & | operator= (const CollectionColumn &rhs) |
| Assignment operator. | |
| bool | operator== (const CollectionColumn &rhs) const |
| Equality operator. | |
| bool | operator!= (const CollectionColumn &rhs) const |
| Inequality operator. | |
| virtual void | setName (const std::string &name) |
| Sets the name of the column. | |
| virtual void | setType (const std::string &type) |
| Sets the data type of the column. | |
| virtual void | setType (const std::type_info &type) |
| Sets the data type of the column. | |
| virtual void | setMaxSize (int maxSize) |
| Sets the maximum size of the column data type. | |
| virtual void | setSizeIsFixed (bool sizeIsFixed) |
| Sets a flag indicating whether the size of the column data type may vary. | |
| virtual void | setId (int id) |
| Sets the position of the column in its associated collection fragment. | |
| virtual const std::string & | name () const |
| Returns the name of the column. | |
| virtual const std::string & | type () const |
| Returns the data type of the column. | |
| virtual int | maxSize () const |
| Returns the maximum size of the column data type. | |
| virtual bool | sizeIsFixed () const |
| Indicates whether the data type of the column can vary in size. | |
| virtual int | id () const |
| Returns the position of the column in its associated collection fragment. | |
Private Attributes | |
| std::string | m_name |
| Name of column. | |
| std::string | m_type |
| Data type of column. | |
| int | m_maxSize |
| Maximum size of column data type. | |
| bool | m_sizeIsFixed |
| Flag indicating whether data type of column can vary in size. | |
| int | m_id |
| Position of column in associated collection fragment. | |
An implementation of the ICollectionColumn interface for retrieving a description of a column of a collection.
Definition at line 23 of file CollectionColumn.h.
|
inline |
Default constructor.
Definition at line 27 of file CollectionColumn.h.
|
inline |
Constructor that takes the column properties as input.
| name | Name of column. |
| type | Data type of column. |
| maxSize | Maximum size of column data type. |
| sizeIsFixed | Flag to allow column data type to vary in size. |
Definition at line 42 of file CollectionColumn.h.
|
inline |
Copy constructor.
Definition at line 53 of file CollectionColumn.h.
|
inline |
|
inlinevirtual |
Returns the position of the column in its associated collection fragment.
Implements pool::ICollectionColumn.
Definition at line 155 of file CollectionColumn.h.
|
inlinevirtual |
Returns the maximum size of the column data type.
This information is useful for data of type string or blob.
Implements pool::ICollectionColumn.
Definition at line 146 of file CollectionColumn.h.
|
inlinevirtual |
Returns the name of the column.
Implements pool::ICollectionColumn.
Definition at line 137 of file CollectionColumn.h.
|
inline |
Inequality operator.
Definition at line 90 of file CollectionColumn.h.
|
inline |
Assignment operator.
Definition at line 66 of file CollectionColumn.h.
|
inline |
Equality operator.
Definition at line 78 of file CollectionColumn.h.
|
inlinevirtual |
Sets the position of the column in its associated collection fragment.
Definition at line 134 of file CollectionColumn.h.
|
inlinevirtual |
Sets the maximum size of the column data type.
This method is useful for data of type string or blob.
| maxSize | Maximum size of column data type. |
Definition at line 123 of file CollectionColumn.h.
|
inlinevirtual |
Sets the name of the column.
| name | Name of column. |
Definition at line 100 of file CollectionColumn.h.
|
inlinevirtual |
Sets a flag indicating whether the size of the column data type may vary.
This method is useful for data of type string or blob.
| sizeIsFixed | Flag to allow column data type to vary in size. |
Definition at line 131 of file CollectionColumn.h.
|
inlinevirtual |
Sets the data type of the column.
| type | Data type of column. |
Definition at line 107 of file CollectionColumn.h.
|
inlinevirtual |
Sets the data type of the column.
| type | Data type of column. |
Definition at line 114 of file CollectionColumn.h.
|
inlinevirtual |
Indicates whether the data type of the column can vary in size.
This information is useful for data of type string or blob.
Implements pool::ICollectionColumn.
Definition at line 152 of file CollectionColumn.h.
|
inlinevirtual |
Returns the data type of the column.
Implements pool::ICollectionColumn.
Definition at line 140 of file CollectionColumn.h.
|
private |
Position of column in associated collection fragment.
Definition at line 171 of file CollectionColumn.h.
|
private |
Maximum size of column data type.
Definition at line 165 of file CollectionColumn.h.
|
private |
Name of column.
Definition at line 159 of file CollectionColumn.h.
|
private |
Flag indicating whether data type of column can vary in size.
Definition at line 168 of file CollectionColumn.h.
|
private |
Data type of column.
Definition at line 162 of file CollectionColumn.h.