17 using namespace details;
20 : uppercaseColumnNames_(false)
38 std::string columnName;
39 std::string
const & originalName = cp.
get_name();
42 for (std::size_t i = 0; i != originalName.size(); ++i)
44 columnName.push_back(static_cast<char>(std::toupper(originalName[i])));
54 columnName = originalName;
67 std::size_t
const hsize =
holders_.size();
68 for (std::size_t i = 0; i != hsize; ++i)
82 assert(
indicators_.size() >=
static_cast<std::size_t
>(pos + 1));
104 std::map<std::string, std::size_t>::const_iterator it =
index_.find(name);
107 std::ostringstream msg;
108 msg <<
"Column '" << name <<
"' not found";
column_properties const & get_properties(std::size_t pos) const
std::size_t find_column(std::string const &name) const
std::string get_name() const
bool uppercaseColumnNames_
std::map< std::string, std::size_t > index_
indicator get_indicator(std::size_t pos) const
std::vector< details::holder * > holders_
void uppercase_column_names(bool forceToUpper)
std::vector< column_properties > columns_
void add_properties(column_properties const &cp)
std::vector< indicator * > indicators_