#include <Options.h>
Inheritance diagram for oasys::UInt64Opt:

Definition at line 192 of file Options.h.
Public Member Functions | |
| UInt64Opt (const char *opt, u_int64_t *valp, const char *valdesc="", const char *desc="", bool *setp=NULL) | |
| Basic constructor. | |
| UInt64Opt (char shortopt, const char *longopt, u_int64_t *valp, const char *valdesc="", const char *desc="", bool *setp=NULL) | |
| Alternative constructor with both short and long options, suitable for getopt calls. | |
Protected Member Functions | |
| int | set (const char *val, size_t len) |
| Virtual callback to set the option to the given string value. | |
| void | get (StringBuffer *buf) |
| Virtual callback to get a string version of the current value. | |
| oasys::UInt64Opt::UInt64Opt | ( | const char * | opt, | |
| u_int64_t * | valp, | |||
| const char * | valdesc = "", |
|||
| const char * | desc = "", |
|||
| bool * | setp = NULL | |||
| ) |
Basic constructor.
| opt | the option string | |
| valp | pointer to the value | |
| valdesc | short description for the value | |
| desc | descriptive string | |
| setp | optional pointer to indicate whether or not the option was set |
Definition at line 187 of file Options.cc.
| oasys::UInt64Opt::UInt64Opt | ( | char | shortopt, | |
| const char * | longopt, | |||
| u_int64_t * | valp, | |||
| const char * | valdesc = "", |
|||
| const char * | desc = "", |
|||
| bool * | setp = NULL | |||
| ) |
Alternative constructor with both short and long options, suitable for getopt calls.
| shortopt | short option character | |
| longopt | long option string | |
| valp | pointer to the value | |
| valdesc | short description for the value | |
| desc | descriptive string | |
| setp | optional pointer to indicate whether or not the option was set |
Definition at line 194 of file Options.cc.
| int oasys::UInt64Opt::set | ( | const char * | val, | |
| size_t | len | |||
| ) | [protected, virtual] |
Virtual callback to set the option to the given string value.
Implements oasys::Opt.
Definition at line 202 of file Options.cc.
References oasys::Opt::setp_, and oasys::Opt::valp_.
| void oasys::UInt64Opt::get | ( | StringBuffer * | buf | ) | [protected, virtual] |
Virtual callback to get a string version of the current value.
Implements oasys::Opt.
Definition at line 221 of file Options.cc.
References oasys::StringBuffer::appendf(), and oasys::Opt::valp_.
1.5.1