OdbDesign
OdbDesign ODB++ Parser - C++ library, gRPC/REST server, CLI, tests
 
Loading...
Searching...
No Matches
Odb::Lib::App::OdbDesignArgs Class Reference

#include <OdbDesignArgs.h>

Inheritance diagram for Odb::Lib::App::OdbDesignArgs:
[legend]
Collaboration diagram for Odb::Lib::App::OdbDesignArgs:
[legend]

Public Member Functions

 OdbDesignArgs (int argc, char *argv[])
 
int port () const
 
std::string bindAddress () const
 
int grpcPort () const
 
bool useHttps () const
 
std::string designsDir () const
 
std::string templatesDir () const
 
bool help () const
 
bool httpTrace () const
 
std::string loadDesign () const
 
bool loadAll () const
 
bool disableAuthentication () const
 
int cacheMaxMb () const
 
int maxBackgroundLoads () const
 
- Public Member Functions inherited from Utils::CommandLineArgs
 CommandLineArgs (int argc, char *argv[])
 
 CommandLineArgs (const std::vector< std::string > &vecArgv)
 
bool boolArg (const std::string &name, bool defaultValue) const
 
std::string stringArg (const std::string &name, const std::string &defaultValue) const
 
int intArg (const std::string &name, int defaultValue) const
 
double doubleArg (const std::string &name, double defaultValue) const
 
std::filesystem::path executable () const
 
std::filesystem::path executableDirectory () const
 
std::string executableName () const
 
bool isWindows () const
 
bool isLinux () const
 
void printUsage () const
 

Protected Member Functions

std::string getUsageString () const override
 
- Protected Member Functions inherited from Utils::CommandLineArgs
std::string getArgValue (const std::string &name) const
 
void parse ()
 

Additional Inherited Members

- Protected Attributes inherited from Utils::CommandLineArgs
std::vector< std::string > m_vecArguments
 
std::map< std::string, std::string > m_mapArguments
 
const char * EXECUTABLE_ARG_NAME = "executable"
 
const char * EXE_EXTENSION = ".exe"
 

Detailed Description

Definition at line 9 of file OdbDesignArgs.h.

Constructor & Destructor Documentation

◆ OdbDesignArgs()

Odb::Lib::App::OdbDesignArgs::OdbDesignArgs ( int  argc,
char *  argv[] 
)

Definition at line 7 of file OdbDesignArgs.cpp.

Member Function Documentation

◆ bindAddress()

std::string Odb::Lib::App::OdbDesignArgs::bindAddress ( ) const

Definition at line 17 of file OdbDesignArgs.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cacheMaxMb()

int Odb::Lib::App::OdbDesignArgs::cacheMaxMb ( ) const

Definition at line 62 of file OdbDesignArgs.cpp.

Here is the call graph for this function:

◆ designsDir()

std::string Odb::Lib::App::OdbDesignArgs::designsDir ( ) const

Definition at line 27 of file OdbDesignArgs.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ disableAuthentication()

bool Odb::Lib::App::OdbDesignArgs::disableAuthentication ( ) const

Definition at line 57 of file OdbDesignArgs.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getUsageString()

std::string Odb::Lib::App::OdbDesignArgs::getUsageString ( ) const
overrideprotectedvirtual

Implements Utils::CommandLineArgs.

Definition at line 102 of file OdbDesignArgs.cpp.

Here is the call graph for this function:

◆ grpcPort()

int Odb::Lib::App::OdbDesignArgs::grpcPort ( ) const

Definition at line 22 of file OdbDesignArgs.cpp.

Here is the call graph for this function:

◆ help()

bool Odb::Lib::App::OdbDesignArgs::help ( ) const

Definition at line 37 of file OdbDesignArgs.cpp.

Here is the call graph for this function:

◆ httpTrace()

bool Odb::Lib::App::OdbDesignArgs::httpTrace ( ) const

Definition at line 42 of file OdbDesignArgs.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadAll()

bool Odb::Lib::App::OdbDesignArgs::loadAll ( ) const

Definition at line 52 of file OdbDesignArgs.cpp.

Here is the call graph for this function:

◆ loadDesign()

std::string Odb::Lib::App::OdbDesignArgs::loadDesign ( ) const

Definition at line 47 of file OdbDesignArgs.cpp.

Here is the call graph for this function:

◆ maxBackgroundLoads()

int Odb::Lib::App::OdbDesignArgs::maxBackgroundLoads ( ) const

Definition at line 83 of file OdbDesignArgs.cpp.

Here is the call graph for this function:

◆ port()

int Odb::Lib::App::OdbDesignArgs::port ( ) const

Definition at line 12 of file OdbDesignArgs.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ templatesDir()

std::string Odb::Lib::App::OdbDesignArgs::templatesDir ( ) const

Definition at line 32 of file OdbDesignArgs.cpp.

Here is the call graph for this function:

◆ useHttps()

bool Odb::Lib::App::OdbDesignArgs::useHttps ( ) const

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