BAOS SDK v2  1.0.1
An SDK providing access to IP-BAOS devices through BAOS binary protocol version 2.x
CommandLineOptions Class Referencefinal

#include </var/jenkins_workspace/8300_500_BAOS_SDK_v2/BAOS_SDK_v2.standard/v1.0.1/workspace/release_src/BAOS_SDK/samples/Helper.h>

Public Member Functions

void parse (int argc, char *argv[])
 Parse the command line options.
 
bool wasHelpdisplayed () const
 returns true if the help show be displayed
 
const std::string & getIpAddress () const
 Get the ip address parse from command line.
 
void showUsage ()
 Display the how to use message.
 

Public Attributes

std::string applicationName_
 contains the application name as given as first parameter from command line
 
bool wasHelpdisplayed_ = false
 Indicate that the help meesage was displayed and we should not continue.
 
std::string ipAddress_
 The ip v4 address as string in the form xxx.xxx.xxx.xxx.
 

Detailed Description


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