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

#include <aw_scalar.hxx>

Collaboration diagram for AW_scalar:
Collaboration graph
[legend]

Public Member Functions

 AW_scalar (int32_t I)
 
 AW_scalar (float F)
 
 AW_scalar (const char *S)
 
 AW_scalar (GBDATA *P)
 
 AW_scalar (class AW_awar *awar)
 
 AW_scalar (const AW_scalar &other)
 
 ~AW_scalar ()
 
 DECLARE_ASSIGNMENT_OPERATOR (AW_scalar)
 
int32_t get_int () const
 
float get_float () const
 
const charget_string () const
 
GBDATAget_pointer () const
 
void set_int (int32_t I)
 
void set_float (float F)
 
void set_string (const char *S)
 
void set_pointer (GBDATA *P)
 
const charget_type_name () const
 
AW_VARIABLE_TYPE matching_variable_type () const
 
bool matches_variable_type (AW_VARIABLE_TYPE atype) const
 
GB_ERROR write_to (class AW_awar *awar) const
 
bool operator== (const AW_scalar &other) const
 
bool operator!= (const AW_scalar &other) const
 

Detailed Description

Definition at line 39 of file aw_scalar.hxx.

Constructor & Destructor Documentation

AW_scalar::AW_scalar ( int32_t  I)
inlineexplicit

Definition at line 54 of file aw_scalar.hxx.

References I.

AW_scalar::AW_scalar ( float  F)
inlineexplicit

Definition at line 55 of file aw_scalar.hxx.

AW_scalar::AW_scalar ( const char S)
inlineexplicit

Definition at line 56 of file aw_scalar.hxx.

References ARB_strdup().

AW_scalar::AW_scalar ( GBDATA P)
inlineexplicit

Definition at line 57 of file aw_scalar.hxx.

References P.

AW_scalar::AW_scalar ( class AW_awar awar)
explicit
AW_scalar::AW_scalar ( const AW_scalar other)
inline

Definition at line 60 of file aw_scalar.hxx.

References ARB_strdup().

AW_scalar::~AW_scalar ( )
inline

Definition at line 66 of file aw_scalar.hxx.

Member Function Documentation

AW_scalar::DECLARE_ASSIGNMENT_OPERATOR ( AW_scalar  )
int32_t AW_scalar::get_int ( ) const
inline

Definition at line 70 of file aw_scalar.hxx.

References aw_assert.

Referenced by AW_selection_list::refresh(), and write_to().

float AW_scalar::get_float ( ) const
inline

Definition at line 71 of file aw_scalar.hxx.

References aw_assert.

Referenced by AW_selection_list::refresh(), and write_to().

const char* AW_scalar::get_string ( ) const
inline
GBDATA* AW_scalar::get_pointer ( ) const
inline

Definition at line 73 of file aw_scalar.hxx.

References aw_assert.

Referenced by GroupUIdata::get_selected_group(), AW_selection_list::refresh(), and write_to().

void AW_scalar::set_int ( int32_t  I)
inline

Definition at line 75 of file aw_scalar.hxx.

References aw_assert, and I.

void AW_scalar::set_float ( float  F)
inline

Definition at line 76 of file aw_scalar.hxx.

References aw_assert.

void AW_scalar::set_string ( const char S)
inline

Definition at line 77 of file aw_scalar.hxx.

References aw_assert.

void AW_scalar::set_pointer ( GBDATA P)
inline

Definition at line 78 of file aw_scalar.hxx.

References aw_assert, and P.

const char* AW_scalar::get_type_name ( ) const
inline

Definition at line 80 of file aw_scalar.hxx.

Referenced by AW_selection_list::insert(), and AW_selection_list::insert_default().

AW_VARIABLE_TYPE AW_scalar::matching_variable_type ( ) const
inline

Definition at line 81 of file aw_scalar.hxx.

Referenced by matches_variable_type().

bool AW_scalar::matches_variable_type ( AW_VARIABLE_TYPE  atype) const
inline
GB_ERROR AW_scalar::write_to ( class AW_awar awar) const
bool AW_scalar::operator== ( const AW_scalar other) const
inline

Definition at line 86 of file aw_scalar.hxx.

References aw_assert, f, i, p, and s.

bool AW_scalar::operator!= ( const AW_scalar other) const
inline

Definition at line 97 of file aw_scalar.hxx.

Member Data Documentation

char* AW_scalar::s

Definition at line 41 of file aw_scalar.hxx.

Referenced by operator==().

int32_t AW_scalar::i

Definition at line 42 of file aw_scalar.hxx.

Referenced by operator==().

float AW_scalar::f

Definition at line 43 of file aw_scalar.hxx.

Referenced by operator==().

GBDATA* AW_scalar::p

Definition at line 44 of file aw_scalar.hxx.

Referenced by operator==().


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