w11 - cpp 0.794
Backend server for Rlink and w11
Loading...
Searching...
No Matches
Retro::RtclArgs Class Reference

FIXME_docs. More...

#include <RtclArgs.hpp>

Public Member Functions

 RtclArgs ()
 Default constructor.
 
 RtclArgs (Tcl_Interp *interp, int objc, Tcl_Obj *const objv[], size_t nskip=1)
 FIXME_docs.
 
 RtclArgs (const RtclArgs &rhs)
 FIXME_docs.
 
 ~RtclArgs ()
 Destructor.
 
Tcl_Interp * Interp () const
 FIXME_docs.
 
int Objc () const
 FIXME_docs.
 
Tcl_Obj *const * Objv () const
 FIXME_docs.
 
Tcl_Obj * Objv (size_t ind) const
 FIXME_docs.
 
bool GetArg (const char *name, Tcl_Obj *&pval)
 FIXME_docs.
 
bool GetArg (const char *name, const char *&val)
 FIXME_docs.
 
bool GetArg (const char *name, std::string &val)
 FIXME_docs.
 
bool GetArg (const char *name, int8_t &val, int8_t min=int8_min, int8_t max=int8_max)
 FIXME_docs.
 
bool GetArg (const char *name, uint8_t &val, uint8_t max=uint8_max, uint8_t min=0)
 FIXME_docs.
 
bool GetArg (const char *name, int16_t &val, int16_t min=int16_min, int16_t max=int16_max)
 FIXME_docs.
 
bool GetArg (const char *name, uint16_t &val, uint16_t max=uint16_max, uint16_t min=0)
 FIXME_docs.
 
bool GetArg (const char *name, int32_t &val, int32_t min=int32_min, int32_t max=int32_max)
 FIXME_docs.
 
bool GetArg (const char *name, uint32_t &val, uint32_t max=uint32_max, uint32_t min=0)
 FIXME_docs.
 
bool GetArg (const char *name, float &val, float min=-1.e30, float max=+1.e30)
 FIXME_docs.
 
bool GetArg (const char *name, double &val, double min=-1.e30, double max=+1.e30)
 FIXME_docs.
 
bool GetArg (const char *name, std::vector< uint8_t > &val, size_t lmin=0, size_t lmax=uint32_max)
 FIXME_docs.
 
bool GetArg (const char *name, std::vector< uint16_t > &val, size_t lmin=0, size_t lmax=uint32_max)
 FIXME_docs.
 
bool Config (const char *name, std::string &val)
 FIXME_docs.
 
bool Config (const char *name, uint32_t &val, uint32_t max=uint32_max, uint32_t min=0)
 FIXME_docs.
 
bool NextOpt (std::string &val)
 FIXME_docs.
 
bool NextOpt (std::string &val, const RtclNameSet &optset)
 FIXME_docs.
 
int NextSubOpt (std::string &val, const RtclNameSet &optset)
 FIXME_docs.
 
bool OptValid () const
 FIXME_docs.
 
Tcl_Obj * CurrentArg () const
 FIXME_docs.
 
bool AllDone ()
 FIXME_docs.
 
size_t NDone () const
 FIXME_docs.
 
size_t NOptMiss () const
 FIXME_docs.
 
const char * PeekArgString (int rind) const
 FIXME_docs.
 
void SetResult (const std::string &str)
 FIXME_docs.
 
void SetResult (std::ostringstream &sos)
 FIXME_docs.
 
void SetResult (bool val)
 FIXME_docs.
 
void SetResult (int val)
 FIXME_docs.
 
void SetResult (double val)
 FIXME_docs.
 
void SetResult (Tcl_Obj *pobj)
 FIXME_docs.
 
void AppendResult (const char *str,...)
 FIXME_docs.
 
void AppendResult (const std::string &str)
 FIXME_docs.
 
void AppendResult (std::ostringstream &sos)
 FIXME_docs.
 
void AppendResultLines (const std::string &str)
 FIXME_docs.
 
void AppendResultLines (std::ostringstream &sos)
 FIXME_docs.
 
int Quit (const std::string &str)
 FIXME_docs.
 
Tcl_Obj * operator[] (size_t ind) const
 FIXME_docs.
 

Static Public Attributes

static const int8_t int8_min = std::numeric_limits<int8_t>::min()
 
static const int8_t int8_max = std::numeric_limits<int8_t>::max()
 
static const uint8_t uint8_max = std::numeric_limits<uint8_t>::max()
 
static const int16_t int16_min = std::numeric_limits<int16_t>::min()
 
static const int16_t int16_max = std::numeric_limits<int16_t>::max()
 
static const uint16_t uint16_max = std::numeric_limits<uint16_t>::max()
 
static const int32_t int32_min = std::numeric_limits<int32_t>::min()
 
static const int32_t int32_max = std::numeric_limits<int32_t>::max()
 
static const uint32_t uint32_max = std::numeric_limits<uint32_t>::max()
 

Protected Member Functions

bool NextArg (const char *name, Tcl_Obj *&pobj)
 FIXME_docs.
 
bool NextArgList (const char *name, int &objc, Tcl_Obj **&objv, size_t lmin=0, size_t lmax=uint32_max)
 FIXME_docs.
 
void ConfigNameCheck (const char *name)
 FIXME_docs.
 
bool ConfigReadCheck ()
 FIXME_docs.
 

Protected Attributes

Tcl_Interp * fpInterp
 pointer to tcl interpreter
 
size_t fObjc
 original args count
 
Tcl_Obj *const * fObjv
 original args vector
 
size_t fNDone
 number of processed args
 
size_t fNOptMiss
 number of missed optional args
 
size_t fNConfigRead
 number of read mode config's
 
bool fOptErr
 option processing error flag
 
bool fArgErr
 argument processing error flag
 

Detailed Description

FIXME_docs.

Definition at line 41 of file RtclArgs.hpp.

Constructor & Destructor Documentation

◆ RtclArgs() [1/3]

Retro::RtclArgs::RtclArgs ( )

Default constructor.

Definition at line 52 of file RtclArgs.cpp.

◆ RtclArgs() [2/3]

Retro::RtclArgs::RtclArgs ( Tcl_Interp *  interp,
int  objc,
Tcl_Obj *const  objv[],
size_t  nskip = 1 
)

FIXME_docs.

Definition at line 66 of file RtclArgs.cpp.

◆ RtclArgs() [3/3]

Retro::RtclArgs::RtclArgs ( const RtclArgs rhs)

FIXME_docs.

Definition at line 84 of file RtclArgs.cpp.

◆ ~RtclArgs()

Retro::RtclArgs::~RtclArgs ( )

Destructor.

Definition at line 98 of file RtclArgs.cpp.

Member Function Documentation

◆ Interp()

◆ Objc()

int Retro::RtclArgs::Objc ( ) const
inline

FIXME_docs.

Definition at line 36 of file RtclArgs.ipp.

References fObjc.

Referenced by Retro::RtclCmdBase::DispatchCmd().

◆ Objv() [1/2]

Tcl_Obj *const * Retro::RtclArgs::Objv ( ) const
inline

FIXME_docs.

Definition at line 44 of file RtclArgs.ipp.

References fObjv.

Referenced by Retro::RtclCmdBase::DispatchCmd().

◆ Objv() [2/2]

Tcl_Obj * Retro::RtclArgs::Objv ( size_t  ind) const

FIXME_docs.

Definition at line 104 of file RtclArgs.cpp.

References fObjc, and fObjv.

◆ GetArg() [1/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
Tcl_Obj *&  pval 
)

FIXME_docs.

Definition at line 114 of file RtclArgs.cpp.

References NextArg().

Referenced by Retro::RtclRlinkServer::ClassCmdConfig(), Retro::RtclRw11::ClassCmdConfig(), Retro::RtclClassOwned< TP >::ClassCmdCreate(), Config(), Retro::RtclCmdBase::DispatchCmd(), Retro::RtclRlinkPort::DoRawRblk(), Retro::RtclRlinkPort::DoRawRead(), Retro::RtclRlinkPort::DoRawWblk(), Retro::RtclRw11CntlDEUNA::FactoryCmdConfig(), Retro::RtclRw11CntlDL11::FactoryCmdConfig(), Retro::RtclRw11CntlDZ11::FactoryCmdConfig(), Retro::RtclRw11CntlLP11::FactoryCmdConfig(), Retro::RtclRw11CntlPC11::FactoryCmdConfig(), Retro::RtclRw11CntlRHRP::FactoryCmdConfig(), Retro::RtclRw11CntlRK11::FactoryCmdConfig(), Retro::RtclRw11CntlRL11::FactoryCmdConfig(), Retro::RtclRw11CntlTM11::FactoryCmdConfig(), Retro::RtclRlinkConnect::GetAddr(), GetArg(), Retro::RtclStats::GetArgs(), Retro::RtclRw11Cpu::GetIAddr(), Retro::RtclRw11Cpu::GetRAddr(), Retro::RtclRlinkConnect::GetVarName(), Retro::RtclRw11Cpu::GetVarName(), Retro::RtclSystem::Isatty(), Retro::RtclRlinkConnect::M_amap(), Retro::RtclRw11Unit::M_attach(), Retro::RtclRlinkServer::M_attn(), Retro::RtclRw11Cpu::M_boot(), Retro::RtclRw11CntlBase< TC >::M_bootcode(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRw11Cpu::M_deposit(), Retro::RtclRw11Cpu::M_examine(), Retro::RtclRlinkConnect::M_exec(), Retro::RtclGetList::M_get(), Retro::RtclRw11Cpu::M_imap(), Retro::RtclCmdBase::M_info(), Retro::RtclRw11Cpu::M_ldabs(), Retro::RtclRw11Cpu::M_ldasm(), Retro::RtclRlinkConnect::M_log(), Retro::RtclRlinkPort::M_log(), Retro::RtclRw11Cpu::M_lsmem(), Retro::RtclRlinkConnect::M_oob(), Retro::RtclRlinkConnect::M_open(), Retro::RtclRlinkPort::M_open(), Retro::RtclRw11Cpu::M_rmap(), Retro::RtclSetList::M_set(), Retro::RtclRw11UnitTerm::M_type(), Retro::RtclRw11Cpu::M_wtcpu(), Retro::RtclRlinkConnect::M_wtlam(), Retro::RtclRw11CntlFactory(), Retro::RtclSystem::SignalAction(), and Retro::RtclSystem::WaitPid().

◆ GetArg() [2/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
const char *&  val 
)

FIXME_docs.

Definition at line 126 of file RtclArgs.cpp.

References NextArg().

◆ GetArg() [3/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
std::string &  val 
)

FIXME_docs.

Definition at line 138 of file RtclArgs.cpp.

References NextArg().

◆ GetArg() [4/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
int8_t &  val,
int8_t  min = int8_min,
int8_t  max = int8_max 
)

FIXME_docs.

Definition at line 150 of file RtclArgs.cpp.

References GetArg().

◆ GetArg() [5/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
uint8_t &  val,
uint8_t  max = uint8_max,
uint8_t  min = 0 
)

FIXME_docs.

Definition at line 161 of file RtclArgs.cpp.

References GetArg().

◆ GetArg() [6/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
int16_t &  val,
int16_t  min = int16_min,
int16_t  max = int16_max 
)

FIXME_docs.

Definition at line 172 of file RtclArgs.cpp.

References GetArg().

◆ GetArg() [7/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
uint16_t &  val,
uint16_t  max = uint16_max,
uint16_t  min = 0 
)

FIXME_docs.

Definition at line 183 of file RtclArgs.cpp.

References GetArg().

◆ GetArg() [8/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
int32_t &  val,
int32_t  min = int32_min,
int32_t  max = int32_max 
)

FIXME_docs.

Definition at line 195 of file RtclArgs.cpp.

References AppendResult(), fpInterp, and NextArg().

◆ GetArg() [9/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
uint32_t &  val,
uint32_t  max = uint32_max,
uint32_t  min = 0 
)

FIXME_docs.

Definition at line 216 of file RtclArgs.cpp.

References AppendResult(), fpInterp, and NextArg().

◆ GetArg() [10/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
float &  val,
float  min = -1.e30,
float  max = +1.e30 
)

FIXME_docs.

Definition at line 239 of file RtclArgs.cpp.

References GetArg().

◆ GetArg() [11/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
double &  val,
double  min = -1.e30,
double  max = +1.e30 
)

FIXME_docs.

Definition at line 250 of file RtclArgs.cpp.

References AppendResult(), fpInterp, and NextArg().

◆ GetArg() [12/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
std::vector< uint8_t > &  val,
size_t  lmin = 0,
size_t  lmax = uint32_max 
)

FIXME_docs.

Definition at line 271 of file RtclArgs.cpp.

References AppendResult(), fpInterp, and NextArgList().

◆ GetArg() [13/13]

bool Retro::RtclArgs::GetArg ( const char *  name,
std::vector< uint16_t > &  val,
size_t  lmin = 0,
size_t  lmax = uint32_max 
)

FIXME_docs.

Definition at line 302 of file RtclArgs.cpp.

References AppendResult(), fpInterp, and NextArgList().

◆ Config() [1/2]

bool Retro::RtclArgs::Config ( const char *  name,
std::string &  val 
)

FIXME_docs.

Definition at line 333 of file RtclArgs.cpp.

References ConfigNameCheck(), ConfigReadCheck(), fNOptMiss, GetArg(), and SetResult().

Referenced by Retro::RtclRlinkConnect::ConfigBase().

◆ Config() [2/2]

bool Retro::RtclArgs::Config ( const char *  name,
uint32_t &  val,
uint32_t  max = uint32_max,
uint32_t  min = 0 
)

FIXME_docs.

Definition at line 350 of file RtclArgs.cpp.

References ConfigNameCheck(), ConfigReadCheck(), fNOptMiss, GetArg(), and SetResult().

◆ NextOpt() [1/2]

◆ NextOpt() [2/2]

bool Retro::RtclArgs::NextOpt ( std::string &  val,
const RtclNameSet optset 
)

FIXME_docs.

Definition at line 393 of file RtclArgs.cpp.

References Retro::RtclNameSet::Check(), fOptErr, fpInterp, and NextOpt().

◆ NextSubOpt()

int Retro::RtclArgs::NextSubOpt ( std::string &  val,
const RtclNameSet optset 
)

FIXME_docs.

Definition at line 409 of file RtclArgs.cpp.

References Retro::RtclNameSet::CheckMatch(), fNDone, fNOptMiss, fObjc, fOptErr, fpInterp, and PeekArgString().

Referenced by Retro::RtclRw11Cpu::M_cp().

◆ OptValid()

◆ CurrentArg()

Tcl_Obj * Retro::RtclArgs::CurrentArg ( ) const

FIXME_docs.

Definition at line 435 of file RtclArgs.cpp.

References fNDone, and fObjv.

Referenced by Retro::RtclSet< TP >::operator()().

◆ AllDone()

bool Retro::RtclArgs::AllDone ( )

FIXME_docs.

Definition at line 447 of file RtclArgs.cpp.

References AppendResult(), fArgErr, fNDone, fObjc, fObjv, and fOptErr.

Referenced by Retro::RtclProxyBase::ClassCmdConfig(), Retro::RtclRw11::ClassCmdConfig(), Retro::RtclRw11CntlDEUNA::FactoryCmdConfig(), Retro::RtclRw11CntlDL11::FactoryCmdConfig(), Retro::RtclRw11CntlDZ11::FactoryCmdConfig(), Retro::RtclRw11CntlLP11::FactoryCmdConfig(), Retro::RtclRw11CntlPC11::FactoryCmdConfig(), Retro::RtclRw11CntlRHRP::FactoryCmdConfig(), Retro::RtclRw11CntlRK11::FactoryCmdConfig(), Retro::RtclRw11CntlRL11::FactoryCmdConfig(), Retro::RtclRw11CntlTM11::FactoryCmdConfig(), Retro::RtclStats::GetArgs(), Retro::RtclSystem::Isatty(), Retro::RtclRlinkConnect::M_amap(), Retro::RtclRw11Unit::M_attach(), Retro::RtclRlinkServer::M_attn(), Retro::RtclRw11Cpu::M_boot(), Retro::RtclRw11CntlBase< TC >::M_bootcode(), Retro::RtclRlinkConnect::M_close(), Retro::RtclRlinkPort::M_close(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_default(), Retro::RtclRlinkPort::M_default(), Retro::RtclRlinkServer::M_default(), Retro::RtclRw11::M_default(), Retro::RtclRw11Cntl::M_default(), Retro::RtclRw11CntlDiskBase< TC >::M_default(), Retro::RtclRw11CntlStreamBase< TC >::M_default(), Retro::RtclRw11CntlTapeBase< TC >::M_default(), Retro::RtclRw11CntlTermBase< TC >::M_default(), Retro::RtclRw11Cpu::M_default(), Retro::RtclRw11Unit::M_default(), Retro::RtclRw11Cpu::M_deposit(), Retro::RtclRw11Unit::M_detach(), Retro::RtclRlinkConnect::M_dump(), Retro::RtclRlinkPort::M_dump(), Retro::RtclRlinkServer::M_dump(), Retro::RtclRw11::M_dump(), Retro::RtclRw11Cntl::M_dump(), Retro::RtclRw11Cpu::M_dump(), Retro::RtclRw11Unit::M_dump(), Retro::RtclRw11Virt::M_dump(), Retro::RtclRlinkConnect::M_errcnt(), Retro::RtclRlinkPort::M_errcnt(), Retro::RtclRw11Cpu::M_examine(), Retro::RtclRlinkConnect::M_exec(), Retro::RtclRw11VirtDiskOver::M_flush(), Retro::RtclGetList::M_get(), Retro::RtclRw11Cpu::M_imap(), Retro::RtclCmdBase::M_info(), Retro::RtclRlinkConnect::M_init(), Retro::RtclRw11Cpu::M_ldabs(), Retro::RtclRw11Cpu::M_ldasm(), Retro::RtclRw11VirtDiskOver::M_list(), Retro::RtclRw11VirtDiskRam::M_list(), Retro::RtclRlinkConnect::M_log(), Retro::RtclRlinkPort::M_log(), Retro::RtclRw11Cpu::M_lsmem(), Retro::RtclRlinkConnect::M_oob(), Retro::RtclRlinkConnect::M_open(), Retro::RtclRlinkPort::M_open(), Retro::RtclRlinkConnect::M_print(), Retro::RtclRlinkServer::M_print(), Retro::RtclRw11Cntl::M_probe(), Retro::RtclRw11Cpu::M_rmap(), Retro::RtclRlinkServer::M_server(), Retro::RtclSetList::M_set(), Retro::RtclRw11Cpu::M_show(), Retro::RtclRw11::M_start(), Retro::RtclRw11Cntl::M_start(), Retro::RtclRw11UnitTerm::M_type(), Retro::RtclRw11Cpu::M_wtcpu(), Retro::RtclRlinkConnect::M_wtlam(), Retro::RtclSystem::SignalAction(), and Retro::RtclSystem::WaitPid().

◆ NDone()

size_t Retro::RtclArgs::NDone ( ) const
inline

◆ NOptMiss()

size_t Retro::RtclArgs::NOptMiss ( ) const
inline

◆ PeekArgString()

◆ SetResult() [1/6]

◆ SetResult() [2/6]

void Retro::RtclArgs::SetResult ( std::ostringstream &  sos)
inline

FIXME_docs.

Definition at line 85 of file RtclArgs.ipp.

References fpInterp, and Retro::Rtcl::SetResult().

◆ SetResult() [3/6]

void Retro::RtclArgs::SetResult ( bool  val)
inline

FIXME_docs.

Definition at line 94 of file RtclArgs.ipp.

References fpInterp.

◆ SetResult() [4/6]

void Retro::RtclArgs::SetResult ( int  val)
inline

FIXME_docs.

Definition at line 103 of file RtclArgs.ipp.

References fpInterp.

◆ SetResult() [5/6]

void Retro::RtclArgs::SetResult ( double  val)
inline

FIXME_docs.

Definition at line 112 of file RtclArgs.ipp.

References fpInterp.

◆ SetResult() [6/6]

void Retro::RtclArgs::SetResult ( Tcl_Obj *  pobj)
inline

FIXME_docs.

Definition at line 121 of file RtclArgs.ipp.

References fpInterp.

◆ AppendResult() [1/3]

◆ AppendResult() [2/3]

void Retro::RtclArgs::AppendResult ( const std::string &  str)
inline

FIXME_docs.

Definition at line 130 of file RtclArgs.ipp.

References fpInterp.

◆ AppendResult() [3/3]

void Retro::RtclArgs::AppendResult ( std::ostringstream &  sos)
inline

FIXME_docs.

Definition at line 139 of file RtclArgs.ipp.

References AppendResult().

◆ AppendResultLines() [1/2]

◆ AppendResultLines() [2/2]

void Retro::RtclArgs::AppendResultLines ( std::ostringstream &  sos)
inline

FIXME_docs.

Definition at line 148 of file RtclArgs.ipp.

References AppendResultLines().

◆ Quit()

◆ operator[]()

Tcl_Obj * Retro::RtclArgs::operator[] ( size_t  ind) const
inline

FIXME_docs.

Definition at line 166 of file RtclArgs.ipp.

References fObjv.

◆ NextArg()

bool Retro::RtclArgs::NextArg ( const char *  name,
Tcl_Obj *&  pobj 
)
protected

FIXME_docs.

Definition at line 499 of file RtclArgs.cpp.

References AppendResult(), fArgErr, fNDone, fNOptMiss, fObjc, and fObjv.

Referenced by GetArg(), and NextArgList().

◆ NextArgList()

bool Retro::RtclArgs::NextArgList ( const char *  name,
int &  objc,
Tcl_Obj **&  objv,
size_t  lmin = 0,
size_t  lmax = uint32_max 
)
protected

FIXME_docs.

Definition at line 535 of file RtclArgs.cpp.

References AppendResult(), fpInterp, and NextArg().

Referenced by GetArg().

◆ ConfigNameCheck()

void Retro::RtclArgs::ConfigNameCheck ( const char *  name)
protected

FIXME_docs.

Definition at line 561 of file RtclArgs.cpp.

Referenced by Config().

◆ ConfigReadCheck()

bool Retro::RtclArgs::ConfigReadCheck ( )
protected

FIXME_docs.

Definition at line 571 of file RtclArgs.cpp.

References AppendResult(), fNConfigRead, PeekArgString(), and SetResult().

Referenced by Config().

Member Data Documentation

◆ int8_min

const int8_t Retro::RtclArgs::int8_min = std::numeric_limits<int8_t>::min()
static

Definition at line 44 of file RtclArgs.hpp.

◆ int8_max

const int8_t Retro::RtclArgs::int8_max = std::numeric_limits<int8_t>::max()
static

Definition at line 45 of file RtclArgs.hpp.

◆ uint8_max

const uint8_t Retro::RtclArgs::uint8_max = std::numeric_limits<uint8_t>::max()
static

Definition at line 46 of file RtclArgs.hpp.

◆ int16_min

const int16_t Retro::RtclArgs::int16_min = std::numeric_limits<int16_t>::min()
static

Definition at line 47 of file RtclArgs.hpp.

◆ int16_max

const int16_t Retro::RtclArgs::int16_max = std::numeric_limits<int16_t>::max()
static

Definition at line 48 of file RtclArgs.hpp.

◆ uint16_max

const uint16_t Retro::RtclArgs::uint16_max = std::numeric_limits<uint16_t>::max()
static

Definition at line 49 of file RtclArgs.hpp.

◆ int32_min

const int32_t Retro::RtclArgs::int32_min = std::numeric_limits<int32_t>::min()
static

Definition at line 50 of file RtclArgs.hpp.

◆ int32_max

const int32_t Retro::RtclArgs::int32_max = std::numeric_limits<int32_t>::max()
static

Definition at line 51 of file RtclArgs.hpp.

◆ uint32_max

const uint32_t Retro::RtclArgs::uint32_max = std::numeric_limits<uint32_t>::max()
static

Definition at line 52 of file RtclArgs.hpp.

◆ fpInterp

Tcl_Interp* Retro::RtclArgs::fpInterp
protected

pointer to tcl interpreter

Definition at line 136 of file RtclArgs.hpp.

Referenced by AppendResult(), AppendResultLines(), GetArg(), Interp(), NextArgList(), NextOpt(), NextSubOpt(), Quit(), and SetResult().

◆ fObjc

size_t Retro::RtclArgs::fObjc
protected

original args count

Definition at line 137 of file RtclArgs.hpp.

Referenced by AllDone(), NextArg(), NextOpt(), NextSubOpt(), Objc(), Objv(), and PeekArgString().

◆ fObjv

Tcl_Obj* const* Retro::RtclArgs::fObjv
protected

original args vector

Definition at line 138 of file RtclArgs.hpp.

Referenced by AllDone(), CurrentArg(), NextArg(), Objv(), operator[](), and PeekArgString().

◆ fNDone

size_t Retro::RtclArgs::fNDone
protected

number of processed args

Definition at line 139 of file RtclArgs.hpp.

Referenced by AllDone(), CurrentArg(), NDone(), NextArg(), NextOpt(), NextSubOpt(), and PeekArgString().

◆ fNOptMiss

size_t Retro::RtclArgs::fNOptMiss
protected

number of missed optional args

Definition at line 140 of file RtclArgs.hpp.

Referenced by Config(), NextArg(), NextOpt(), NextSubOpt(), and NOptMiss().

◆ fNConfigRead

size_t Retro::RtclArgs::fNConfigRead
protected

number of read mode config's

Definition at line 141 of file RtclArgs.hpp.

Referenced by ConfigReadCheck().

◆ fOptErr

bool Retro::RtclArgs::fOptErr
protected

option processing error flag

Definition at line 142 of file RtclArgs.hpp.

Referenced by AllDone(), NextOpt(), NextSubOpt(), and OptValid().

◆ fArgErr

bool Retro::RtclArgs::fArgErr
protected

argument processing error flag

Definition at line 143 of file RtclArgs.hpp.

Referenced by AllDone(), and NextArg().


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