ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cmdLineInt Class Reference

#include <CmdLineParser.h>

Inheritance diagram for cmdLineInt:
Collaboration diagram for cmdLineInt:

Public Member Functions

 cmdLineInt (const char *name)
 
 cmdLineInt (const char *name, const int &v)
 
int read (char **argv, int argc)
 
void writeValue (char *str)
 
- Public Member Functions inherited from cmdLineReadable
 cmdLineReadable (const char *name)
 
virtual ~cmdLineReadable (void)
 

Public Attributes

int value
 
- Public Attributes inherited from cmdLineReadable
bool set
 
char * name
 

Detailed Description

Definition at line 49 of file CmdLineParser.h.

Constructor & Destructor Documentation

◆ cmdLineInt() [1/2]

cmdLineInt::cmdLineInt ( const char *  name)

Definition at line 64 of file CmdLineParser.cpp.

References value.

◆ cmdLineInt() [2/2]

cmdLineInt::cmdLineInt ( const char *  name,
const int &  v 
)

Definition at line 65 of file CmdLineParser.cpp.

References value.

Member Function Documentation

◆ read()

int cmdLineInt::read ( char **  argv,
int  argc 
)
virtual

Reimplemented from cmdLineReadable.

Definition at line 66 of file CmdLineParser.cpp.

References cmdLineReadable::set, and value.

◆ writeValue()

void cmdLineInt::writeValue ( char *  str)
virtual

Reimplemented from cmdLineReadable.

Definition at line 74 of file CmdLineParser.cpp.

References value.

Member Data Documentation

◆ value

int cmdLineInt::value

Definition at line 51 of file CmdLineParser.h.

Referenced by cmdLineInt(), Execute(), read(), ShowUsage(), and writeValue().


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