Public Types |
Public Member Functions |
Static Public Member Functions |
Friends |
List of all members
imaging_column Class Reference
#include <imaging_column.h>
Public Types | |
typedef std::vector< std::string > | string_vector |
Public Member Functions | |
imaging_column () | |
imaging_column (const size_t index, const size_t offset) | |
imaging_column (const size_t index, const size_t offset, const string_vector &sub_columns) | |
column_id | id () const |
const std::string & | name () const |
bool | has_children () const |
size_t | offset () const |
const string_vector & | subcolumns () const |
std::string | full_name (const size_t sub_index) const INTEROP_THROW_SPEC((model |
void | offset (const size_t off) |
void | id (const column_id val) |
void | parse_header_for_id (const std::string &header) |
size_t | size () const |
size_t | column_count () const |
Static Public Member Functions | |
static std::string | to_header (const column_id id) |
static std::string | to_header (const std::string &name) |
static std::string | to_name (const std::string &header) |
static std::string | to_name (const model::table::imaging_column &header) |
Friends | |
std::istream & | operator>> (std::istream &in, imaging_column &column) |
std::ostream & | operator<< (std::ostream &out, const imaging_column &column) |
Detailed Description
Information describing a single column or a group of columns
Member Typedef Documentation
typedef std::vector<std::string> string_vector |
Define a vector of strings
Constructor & Destructor Documentation
|
inline |
Constructor
|
inline |
Constructor
- Parameters
-
index column id offset offset of the data into the data array
|
inline |
Constructor
- Parameters
-
index column id offset offset of the data into the data array sub_columns sub column header names
Member Function Documentation
|
inline |
Get total number of columns in the data up to this column
- Returns
- total number of columns in the data up to this column
|
inline |
Get the full name of the column and sub column
- Parameters
-
sub_index index of subcolumn
- Returns
- name of the column
|
inline |
Check if the column has sub column headers
- Returns
- true if there are sub column headers
|
inline |
Get the column id enum
- Returns
- column id enum
|
inline |
Update the offset of the column
- Parameters
-
val new id
|
inline |
Get the name of the column
- Returns
- name of the column
|
inline |
Get the offset into the data array
- Returns
- offset into the data array
|
inline |
Update the offset of the column
- Parameters
-
off new offset into data array
|
inline |
Update the offset of the column
- Parameters
-
header header description for new id
|
inline |
Get total number of subcolumns
- Returns
- total number of subcolumns
|
inline |
Get a vector of subcolumn headers
- Returns
- vector of subcolumn headers
|
inlinestatic |
Convert a column id enum to the string representation
- Parameters
-
id column id enum
- Returns
- header representation
|
inlinestatic |
Convert name to header
- Parameters
-
name column name
- Returns
- header representation
|
inlinestatic |
Convert header to name
- Parameters
-
header column header name
- Returns
- column name
|
inlinestatic |
Convert header to name
- Parameters
-
header column header
- Returns
- column name
Friends And Related Function Documentation
|
friend |
Write a column header to an output stream
- Parameters
-
out output stream column column header
- Returns
- output stream
|
friend |
Read a column header from an input stream
- Parameters
-
in input stream column column header
- Returns
- input stream
The documentation for this class was generated from the following file:
- /io/interop/model/table/imaging_column.h