w11 - cpp 0.794
Backend server for Rlink and w11
|
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 | |
FIXME_docs.
Definition at line 41 of file RtclArgs.hpp.
Retro::RtclArgs::RtclArgs | ( | ) |
Default constructor.
Definition at line 52 of file RtclArgs.cpp.
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.
Retro::RtclArgs::RtclArgs | ( | const RtclArgs & | rhs | ) |
FIXME_docs.
Definition at line 84 of file RtclArgs.cpp.
Retro::RtclArgs::~RtclArgs | ( | ) |
Destructor.
Definition at line 98 of file RtclArgs.cpp.
|
inline |
FIXME_docs.
Definition at line 28 of file RtclArgs.ipp.
References fpInterp.
Referenced by Retro::RtclRlinkServer::ClassCmdConfig(), Retro::RtclRw11::ClassCmdConfig(), Retro::RtclCmdBase::DispatchCmd(), Retro::RtclRlinkPort::DoRawRblk(), Retro::RtclRlinkPort::DoRawRead(), Retro::RtclStats::Exec(), 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::RtclRlinkServer::M_attn(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_exec(), Retro::RtclGetList::M_get(), Retro::RtclCmdBase::M_info(), Retro::RtclRw11Cpu::M_ldabs(), Retro::RtclRw11Cpu::M_ldasm(), Retro::RtclSetList::M_set(), Retro::RtclRlinkConnect::M_wtlam(), and Retro::RtclSet< TP >::operator()().
|
inline |
FIXME_docs.
Definition at line 36 of file RtclArgs.ipp.
References fObjc.
Referenced by Retro::RtclCmdBase::DispatchCmd().
|
inline |
FIXME_docs.
Definition at line 44 of file RtclArgs.ipp.
References fObjv.
Referenced by Retro::RtclCmdBase::DispatchCmd().
Tcl_Obj * Retro::RtclArgs::Objv | ( | size_t | ind | ) | const |
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().
bool Retro::RtclArgs::GetArg | ( | const char * | name, |
const char *& | val | ||
) |
bool Retro::RtclArgs::GetArg | ( | const char * | name, |
std::string & | val | ||
) |
bool Retro::RtclArgs::GetArg | ( | const char * | name, |
uint8_t & | val, | ||
uint8_t | max = uint8_max , |
||
uint8_t | min = 0 |
||
) |
bool Retro::RtclArgs::GetArg | ( | const char * | name, |
uint16_t & | val, | ||
uint16_t | max = uint16_max , |
||
uint16_t | min = 0 |
||
) |
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().
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().
bool Retro::RtclArgs::GetArg | ( | const char * | name, |
float & | val, | ||
float | min = -1.e30 , |
||
float | max = +1.e30 |
||
) |
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().
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().
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().
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().
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().
bool Retro::RtclArgs::NextOpt | ( | std::string & | val | ) |
FIXME_docs.
Definition at line 368 of file RtclArgs.cpp.
References fNDone, fNOptMiss, fObjc, fOptErr, and PeekArgString().
Referenced by Retro::RtclRlinkPort::DoRawRblk(), Retro::RtclRlinkPort::DoRawRead(), 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::RtclCmdBase::GetArgsDump(), Retro::RtclRlinkConnect::M_amap(), Retro::RtclRlinkServer::M_attn(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRlinkConnect::M_errcnt(), Retro::RtclRlinkPort::M_errcnt(), Retro::RtclRlinkConnect::M_exec(), Retro::RtclRw11Cpu::M_imap(), Retro::RtclRw11Cpu::M_ldabs(), Retro::RtclRw11Cpu::M_ldasm(), Retro::RtclRlinkConnect::M_log(), Retro::RtclRlinkConnect::M_oob(), Retro::RtclRw11Cpu::M_rmap(), Retro::RtclRlinkServer::M_server(), Retro::RtclRw11Cpu::M_show(), Retro::RtclRw11Cpu::M_wtcpu(), NextOpt(), and Retro::RtclSystem::SignalAction().
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().
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().
|
inline |
FIXME_docs.
Definition at line 52 of file RtclArgs.ipp.
References fOptErr.
Referenced by Retro::RtclRlinkPort::DoRawRblk(), Retro::RtclRlinkPort::DoRawRead(), Retro::RtclCmdBase::GetArgsDump(), Retro::RtclRlinkConnect::M_amap(), Retro::RtclRlinkServer::M_attn(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRw11Cpu::M_imap(), Retro::RtclRw11Cpu::M_ldabs(), Retro::RtclRw11Cpu::M_ldasm(), Retro::RtclRlinkConnect::M_log(), Retro::RtclRw11Cpu::M_rmap(), Retro::RtclRlinkServer::M_server(), Retro::RtclRw11Cpu::M_wtcpu(), and Retro::RtclSystem::SignalAction().
Tcl_Obj * Retro::RtclArgs::CurrentArg | ( | ) | const |
FIXME_docs.
Definition at line 435 of file RtclArgs.cpp.
Referenced by Retro::RtclSet< TP >::operator()().
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().
|
inline |
FIXME_docs.
Definition at line 60 of file RtclArgs.ipp.
References fNDone.
Referenced by Retro::RtclCmdBase::DispatchCmd(), Retro::RtclRlinkConnect::M_amap(), Retro::RtclRw11Cpu::M_imap(), and Retro::RtclRw11Cpu::M_rmap().
|
inline |
FIXME_docs.
Definition at line 68 of file RtclArgs.ipp.
References fNOptMiss.
Referenced by Retro::RtclRlinkConnect::M_amap(), Retro::RtclRw11Cpu::M_imap(), Retro::RtclRlinkConnect::M_open(), Retro::RtclRlinkPort::M_open(), and Retro::RtclRw11Cpu::M_rmap().
const char * Retro::RtclArgs::PeekArgString | ( | int | rind | ) | const |
FIXME_docs.
Definition at line 461 of file RtclArgs.cpp.
References fNDone, fObjc, and fObjv.
Referenced by Retro::RtclRlinkConnect::ConfigBase(), ConfigReadCheck(), Retro::RtclRlinkConnect::M_amap(), Retro::RtclRlinkServer::M_attn(), Retro::RtclRw11Cpu::M_imap(), Retro::RtclRw11Cpu::M_rmap(), NextOpt(), NextSubOpt(), and Retro::RtclSystem::SignalAction().
|
inline |
FIXME_docs.
Definition at line 76 of file RtclArgs.ipp.
References fpInterp, and Retro::Rtcl::SetResult().
Referenced by Config(), ConfigReadCheck(), Retro::RtclRlinkPort::DoRawRblk(), Retro::RtclRlinkPort::DoRawRead(), Retro::RtclSystem::Isatty(), Retro::RtclRlinkConnect::M_amap(), Retro::RtclRlinkServer::M_attn(), Retro::RtclRw11CntlBase< TC >::M_bootcode(), 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::RtclGetList::M_get(), Retro::RtclRw11Cpu::M_imap(), Retro::RtclRw11VirtDiskOver::M_list(), Retro::RtclRw11VirtDiskRam::M_list(), Retro::RtclRw11Cpu::M_lsmem(), 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::RtclRw11Cpu::M_show(), Retro::RtclRw11Cpu::M_wtcpu(), Retro::RtclRlinkConnect::M_wtlam(), Retro::RtclSystem::SignalAction(), and Retro::RtclSystem::WaitPid().
|
inline |
FIXME_docs.
Definition at line 85 of file RtclArgs.ipp.
References fpInterp, and Retro::Rtcl::SetResult().
|
inline |
|
inline |
|
inline |
|
inline |
void Retro::RtclArgs::AppendResult | ( | const char * | str, |
... | |||
) |
FIXME_docs.
Definition at line 471 of file RtclArgs.cpp.
References fpInterp.
Referenced by AllDone(), AppendResult(), Retro::RtclRlinkConnect::ClistNonEmpty(), Retro::RtclRw11Cpu::ClistNonEmpty(), Retro::RtclRlinkConnect::ConfigBase(), ConfigReadCheck(), Retro::RtclStats::Exec(), Retro::RtclRlinkConnect::GetAddr(), GetArg(), Retro::RtclRw11Cpu::GetIAddr(), Retro::RtclRw11Cpu::GetRAddr(), Retro::RtclRlinkConnect::GetVarName(), Retro::RtclRw11Cpu::GetVarName(), Retro::RtclRw11Cpu::M_cp(), NextArg(), NextArgList(), and Retro::RtclRlinkPort::TestPort().
|
inline |
|
inline |
void Retro::RtclArgs::AppendResultLines | ( | const std::string & | str | ) |
FIXME_docs.
Definition at line 484 of file RtclArgs.cpp.
References Retro::Rtcl::AppendResultNewLines(), and fpInterp.
Referenced by AppendResultLines(), Retro::RtclStats::Exec(), Retro::RtclRlinkConnect::M_amap(), Retro::RtclRlinkConnect::M_default(), Retro::RtclRlinkPort::M_default(), Retro::RtclRlinkServer::M_default(), Retro::RtclRw11::M_default(), Retro::RtclRw11Cntl::M_default(), Retro::RtclRw11CntlDEUNA::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_imap(), Retro::RtclRw11Cpu::M_ldasm(), and Retro::RtclRw11Cpu::M_rmap().
|
inline |
|
inline |
FIXME_docs.
Definition at line 157 of file RtclArgs.ipp.
References fpInterp.
Referenced by Retro::RtclRlinkServer::ClassCmdConfig(), Retro::RtclRw11::ClassCmdConfig(), Retro::RtclRlinkPort::DoRawRblk(), Retro::RtclRlinkPort::DoRawRead(), Retro::RtclRlinkPort::DoRawWblk(), Retro::RtclSystem::Isatty(), Retro::RtclRlinkConnect::M_amap(), Retro::RtclRw11Unit::M_attach(), Retro::RtclRlinkServer::M_attn(), Retro::RtclRw11Cpu::M_boot(), Retro::RtclRlinkConnect::M_close(), Retro::RtclRw11Cpu::M_cp(), Retro::RtclRw11Cpu::M_deposit(), Retro::RtclRw11Cpu::M_examine(), Retro::RtclRlinkConnect::M_exec(), Retro::RtclRw11VirtDiskOver::M_flush(), Retro::RtclRw11Cpu::M_imap(), Retro::RtclRlinkConnect::M_init(), Retro::RtclRw11Cpu::M_ldabs(), Retro::RtclRw11Cpu::M_ldasm(), Retro::RtclRw11Cpu::M_lsmem(), Retro::RtclRlinkConnect::M_oob(), Retro::RtclRlinkConnect::M_open(), Retro::RtclRlinkPort::M_open(), Retro::RtclRlinkConnect::M_rawrblk(), Retro::RtclRlinkConnect::M_rawread(), Retro::RtclRlinkConnect::M_rawwblk(), Retro::RtclRw11Cpu::M_rmap(), Retro::RtclRlinkServer::M_server(), Retro::RtclRw11Cpu::M_show(), Retro::RtclRw11::M_start(), Retro::RtclRw11Cpu::M_wtcpu(), Retro::RtclRlinkConnect::M_wtlam(), Retro::RtclRw11CntlFactory(), Retro::RtclSystem::SignalAction(), and Retro::RtclSystem::WaitPid().
|
inline |
|
protected |
FIXME_docs.
Definition at line 499 of file RtclArgs.cpp.
References AppendResult(), fArgErr, fNDone, fNOptMiss, fObjc, and fObjv.
Referenced by GetArg(), and NextArgList().
|
protected |
FIXME_docs.
Definition at line 535 of file RtclArgs.cpp.
References AppendResult(), fpInterp, and NextArg().
Referenced by GetArg().
|
protected |
|
protected |
FIXME_docs.
Definition at line 571 of file RtclArgs.cpp.
References AppendResult(), fNConfigRead, PeekArgString(), and SetResult().
Referenced by Config().
|
static |
Definition at line 44 of file RtclArgs.hpp.
|
static |
Definition at line 45 of file RtclArgs.hpp.
|
static |
Definition at line 46 of file RtclArgs.hpp.
|
static |
Definition at line 47 of file RtclArgs.hpp.
|
static |
Definition at line 48 of file RtclArgs.hpp.
|
static |
Definition at line 49 of file RtclArgs.hpp.
|
static |
Definition at line 50 of file RtclArgs.hpp.
|
static |
Definition at line 51 of file RtclArgs.hpp.
|
static |
Definition at line 52 of file RtclArgs.hpp.
|
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().
|
protected |
original args count
Definition at line 137 of file RtclArgs.hpp.
Referenced by AllDone(), NextArg(), NextOpt(), NextSubOpt(), Objc(), Objv(), and PeekArgString().
|
protected |
original args vector
Definition at line 138 of file RtclArgs.hpp.
Referenced by AllDone(), CurrentArg(), NextArg(), Objv(), operator[](), and PeekArgString().
|
protected |
number of processed args
Definition at line 139 of file RtclArgs.hpp.
Referenced by AllDone(), CurrentArg(), NDone(), NextArg(), NextOpt(), NextSubOpt(), and PeekArgString().
|
protected |
number of missed optional args
Definition at line 140 of file RtclArgs.hpp.
Referenced by Config(), NextArg(), NextOpt(), NextSubOpt(), and NOptMiss().
|
protected |
number of read mode config's
Definition at line 141 of file RtclArgs.hpp.
Referenced by ConfigReadCheck().
|
protected |
option processing error flag
Definition at line 142 of file RtclArgs.hpp.
Referenced by AllDone(), NextOpt(), NextSubOpt(), and OptValid().
|
protected |
argument processing error flag
Definition at line 143 of file RtclArgs.hpp.