FACT++  1.0
fits::Table Struct Reference

#include <fits.h>

+ Collaboration diagram for fits::Table:

Classes

struct  Column
 

Public Types

typedef std::map< std::string, EntryKeys
 
typedef std::map< std::string, ColumnColumns
 
typedef std::vector< ColumnSortedColumns
 

Public Member Functions

std::string Trim (const std::string &str, char c=' ') const
 
bool Check (const std::string &key, char type, const std::string &value="") const
 
Keys ParseBlock (const std::vector< std::string > &vec) const
 
 Table ()
 
 Table (const std::vector< std::string > &vec, off_t off)
 
void PrintKeys (bool display_all=false) const
 
void PrintColumns () const
 
 operator bool () const
 
bool HasKey (const std::string &key) const
 
bool HasColumn (const std::string &col) const
 
const ColumnsGetColumns () const
 
const KeysGetKeys () const
 
template<typename T >
Get (const std::string &key) const
 
template<typename T >
Get (const std::string &key, const T &deflt) const
 
size_t GetN (const std::string &key) const
 
streamoff GetHeapShift () const
 
streamoff GetTotalBytes () const
 

Public Attributes

off_t offset
 
bool is_compressed
 
std::string name
 
size_t bytes_per_row
 
size_t num_rows
 
size_t num_cols
 
size_t total_bytes
 
Columns cols
 
SortedColumns sorted_cols
 
Keys keys
 
int64_t datasum
 

Detailed Description

Definition at line 89 of file fits.h.


The documentation for this struct was generated from the following file: