ARB
Public Member Functions | List of all members
SpeciesFlag Class Reference

#include <ed4_flags.hxx>

Public Member Functions

 SpeciesFlag (const std::string &shortname_, const std::string &fieldname_, int awar_idx)
 
const std::stringget_shortname () const
 
const std::stringget_fieldname () const
 
void set_dimension (int xpos_, int width_)
 
int get_xpos () const
 
int get_width () const
 
double center_xpos () const
 
const charprepare_itemfield () const
 

Detailed Description

Definition at line 24 of file ed4_flags.hxx.

Constructor & Destructor Documentation

SpeciesFlag::SpeciesFlag ( const std::string shortname_,
const std::string fieldname_,
int  awar_idx 
)
inline

Definition at line 34 of file ed4_flags.hxx.

References e4_assert.

Member Function Documentation

const std::string& SpeciesFlag::get_shortname ( ) const
inline

Definition at line 44 of file ed4_flags.hxx.

Referenced by SpeciesFlags::calculate_header_dimensions().

const std::string& SpeciesFlag::get_fieldname ( ) const
inline

Definition at line 45 of file ed4_flags.hxx.

void SpeciesFlag::set_dimension ( int  xpos_,
int  width_ 
)
inline

Definition at line 47 of file ed4_flags.hxx.

Referenced by SpeciesFlags::calculate_header_dimensions().

int SpeciesFlag::get_xpos ( ) const
inline

Definition at line 51 of file ed4_flags.hxx.

References e4_assert.

Referenced by center_xpos().

int SpeciesFlag::get_width ( ) const
inline

Definition at line 55 of file ed4_flags.hxx.

References e4_assert.

Referenced by center_xpos().

double SpeciesFlag::center_xpos ( ) const
inline

Definition at line 60 of file ed4_flags.hxx.

References get_width(), and get_xpos().

Referenced by SpeciesFlags::calculate_header_dimensions().

const char * SpeciesFlag::prepare_itemfield ( ) const

The documentation for this class was generated from the following files: