|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef COLLECTIONBASE_ICOLLECTIONSCHEMAEDITOR_H
6 #define COLLECTIONBASE_ICOLLECTIONSCHEMAEDITOR_H
14 class ICollectionColumn;
40 const std::string& columnName,
41 const std::string& columnType,
42 const std::string& annotation =
"",
44 bool sizeIsFixed =
true ) = 0;
55 const std::string& columnName,
56 const std::type_info& columnType,
57 const std::string& annotation =
"",
59 bool sizeIsFixed =
true ) = 0;
67 const std::string& columnName,
68 const std::string& annotation =
"") = 0;
73 const std::string& columnName,
74 const std::string& annotation ) = 0;
82 virtual void dropColumn(
const std::string& columnName ) = 0;
virtual const ICollectionColumn & insertTokenColumn(const std::string &columnName, const std::string &annotation="")=0
Adds a new column of type pool::Token to the collection.
virtual const ICollectionColumn & annotateColumn(const std::string &columnName, const std::string &annotation)=0
add annotation to column
virtual void renameColumn(const std::string &oldName, const std::string &newName)=0
Renames a column of the collection.
virtual void setEventReferenceColumnName(const std::string &columnName)=0
Sets the name of the event reference Token column.
virtual const ICollectionColumn & insertColumn(const std::string &columnName, const std::type_info &columnType, const std::string &annotation="", int maxSize=0, bool sizeIsFixed=true)=0
Adds a new column to the collection.
virtual void dropColumn(const std::string &columnName)=0
Removes a column from the collection.
virtual ~ICollectionSchemaEditor()
Empty destructor.
virtual const ICollectionColumn & insertColumn(const std::string &columnName, const std::string &columnType, const std::string &annotation="", int maxSize=0, bool sizeIsFixed=true)=0
Adds a new column to the collection.