5#ifndef COLLECTIONSVC_COLLECTIONCOLUMN_H
6#define COLLECTIONSVC_COLLECTIONCOLUMN_H
8#include "CoralBase/AttributeSpecification.h"
36 const std::string&
type)
68 {
m_type = coral::AttributeSpecification::typeNameForId(
type ); }
CollectionColumn()
Default constructor.
void setName(const std::string &name)
Sets the name of the column.
CollectionColumn(const CollectionColumn &rhs)
Copy constructor.
const std::string & name() const
Returns the name of the column.
void setType(const std::string &type)
Sets the data type of the column.
std::string m_name
Name of column.
void setType(const std::type_info &type)
Sets the data type of the column.
CollectionColumn(const std::string &name, const std::string &type)
Constructor that takes the column properties as input.
std::string m_type
Data type of column.
int id() const
Returns the position of the column in its associated collection fragment.
int m_id
Position of column in associated collection fragment.
void setId(int id)
Sets the position of the column in its associated collection fragment.
const std::string & type() const
Returns the data type of the column.