inlib  1.2.0
Public Member Functions
inlib::f2cmn::command Class Reference

List of all members.

Public Member Functions

 command (const std::string &a_name, unsigned int a_argn=0, double a_0=0, double a_1=0, double a_2=0, double a_3=0, double a_4=0, double a_5=0, double a_6=0, double a_7=0, double a_8=0, double a_9=0, double a_10=0, double a_11=0, double a_12=0, double a_13=0, double a_14=0, double a_15=0, double a_16=0, double a_17=0, double a_18=0, double a_19=0, double a_20=0, double a_21=0, double a_22=0, double a_23=0, double a_24=0, double a_25=0, double a_26=0, double a_27=0, double a_28=0, double a_29=0)
 command (const std::string &a_name, const std::vector< double > &a_args)
virtual ~command ()
 command (const command &a_from)
commandoperator= (const command &a_from)
const std::string & name () const
std::string name ()
unsigned int argn () const
const double * args () const

Detailed Description

Definition at line 7653 of file f2cmn.


Constructor & Destructor Documentation

inlib::f2cmn::command::command ( const std::string &  a_name,
unsigned int  a_argn = 0,
double  a_0 = 0,
double  a_1 = 0,
double  a_2 = 0,
double  a_3 = 0,
double  a_4 = 0,
double  a_5 = 0,
double  a_6 = 0,
double  a_7 = 0,
double  a_8 = 0,
double  a_9 = 0,
double  a_10 = 0,
double  a_11 = 0,
double  a_12 = 0,
double  a_13 = 0,
double  a_14 = 0,
double  a_15 = 0,
double  a_16 = 0,
double  a_17 = 0,
double  a_18 = 0,
double  a_19 = 0,
double  a_20 = 0,
double  a_21 = 0,
double  a_22 = 0,
double  a_23 = 0,
double  a_24 = 0,
double  a_25 = 0,
double  a_26 = 0,
double  a_27 = 0,
double  a_28 = 0,
double  a_29 = 0 
) [inline]

Definition at line 7660 of file f2cmn.

  :m_name(a_name)
  ,m_argn(a_argn)
  {
    if(m_argn>30) m_argn = 30;
    m_args[ 0] = a_0; m_args[ 1] = a_1; m_args[ 2] = a_2;
    m_args[ 3] = a_3; m_args[ 4] = a_4; m_args[ 5] = a_5;
    m_args[ 6] = a_6; m_args[ 7] = a_7; m_args[ 8] = a_8;
    m_args[ 9] = a_9; m_args[10] = a_10;m_args[11] = a_11;
    m_args[12] = a_12;m_args[13] = a_13;m_args[14] = a_14;
    m_args[15] = a_15;m_args[16] = a_16;m_args[17] = a_17;
    m_args[18] = a_18;m_args[19] = a_19;m_args[20] = a_20;
    m_args[21] = a_21;m_args[22] = a_22;m_args[23] = a_23;
    m_args[24] = a_24;m_args[25] = a_25;m_args[26] = a_26;
    m_args[27] = a_27;m_args[28] = a_28;m_args[29] = a_29;
  }
inlib::f2cmn::command::command ( const std::string &  a_name,
const std::vector< double > &  a_args 
) [inline]

Definition at line 7687 of file f2cmn.

  :m_name(a_name)
  ,m_argn(a_args.size())
  {
    if(m_argn>30) m_argn = 30;
    for(unsigned int index=0;index<m_argn;index++) m_args[index] = a_args[index];
  }
virtual inlib::f2cmn::command::~command ( ) [inline, virtual]

Definition at line 7694 of file f2cmn.

{}
inlib::f2cmn::command::command ( const command a_from) [inline]

Definition at line 7696 of file f2cmn.

  :m_name(a_from.m_name)
  ,m_argn(a_from.m_argn)
  {
    ::memcpy(m_args,a_from.m_args,30*sizeof(double));
  }

Member Function Documentation

unsigned int inlib::f2cmn::command::argn ( ) const [inline]

Definition at line 7711 of file f2cmn.

{return m_argn;}
const double* inlib::f2cmn::command::args ( ) const [inline]

Definition at line 7712 of file f2cmn.

{return m_args;}
const std::string& inlib::f2cmn::command::name ( ) const [inline]

Definition at line 7708 of file f2cmn.

{return m_name;}
std::string inlib::f2cmn::command::name ( ) [inline]

Definition at line 7709 of file f2cmn.

{return m_name;}
command& inlib::f2cmn::command::operator= ( const command a_from) [inline]

Definition at line 7702 of file f2cmn.

                                           {
    m_name = a_from.m_name;
    m_argn = a_from.m_argn;
    ::memcpy(m_args,a_from.m_args,30*sizeof(double));
    return *this;
  }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines