WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
WXP::VarNameItem Class Reference

This class manages each item in the variable list. More...

#include "../include/VarNameItem.h"

Public Member Functions

 VarNameItem ()
 
int setName (const char *str)
 
int setAbbr (const char *str)
 
int getInd (int ind)
 
int getInd ()
 
const char * getAbbr ()
 
const char * getName ()
 
int init ()
 
int print ()
 

Friends

class VarName
 

Detailed Description

This class manages each item in the variable list.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ VarNameItem()

VarNameItem::VarNameItem ( )

Constructor

References init().

Member Function Documentation

◆ getInd() [1/2]

int WXP::VarNameItem::getInd ( )
inline

Returns the variable index value

◆ getInd() [2/2]

int VarNameItem::getInd ( int  i)

Gets the variable index number (see variable.lup file)

Parameters
iIndex for multiple index variables

◆ init()

int VarNameItem::init ( )

◆ print()

int VarNameItem::print ( )

Prints the object parameters

References WXP::Const::MISS.

◆ setAbbr()

int VarNameItem::setAbbr ( const char *  str)

Sets the variable abbreviation

Parameters
strAbbreviation

References WXP::StrLib::copy().

◆ setName()

int VarNameItem::setName ( const char *  str)

Sets the variable name

Parameters
strDescriptive name

References WXP::StrLib::copy().


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