Version: 9.15.0
ArgvKeeper.hxx File Reference
#include <string>
#include <vector>
Include dependency graph for ArgvKeeper.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ARGVKEEPER_EXPORT
 

Functions

void SetArgcArgv (int argc, char *argv[])
 Store cmd line arguments. More...
 
void SetArgcArgv (const std::vector< std::string > &argv)
 
std::vector< std::string > GetArgcArgv ()
 Get cmd line arguments. More...
 
bool ArgcArgvInitialized ()
 Check if cmd line arguments were initialized. More...
 

Macro Definition Documentation

◆ ARGVKEEPER_EXPORT

#define ARGVKEEPER_EXPORT

Function Documentation

◆ ArgcArgvInitialized()

bool ArgcArgvInitialized ( )

Check if cmd line arguments were initialized.

In debug mode returns true if SetArgcArgv() was called or false otherwise. In release mode always returns true.

Referenced by ORB_INIT::operator()().

◆ GetArgcArgv()

std::vector<std::string> GetArgcArgv ( )

Get cmd line arguments.

Referenced by ORB_INIT::operator()(), and ArgvKeeperUnitTests::TEST_argvKeeper().

◆ SetArgcArgv() [1/2]

void SetArgcArgv ( const std::vector< std::string > &  argv)

References envSalome::argv.

◆ SetArgcArgv() [2/2]

void SetArgcArgv ( int  argc,
char *  argv[] 
)

Store cmd line arguments.

References envSalome::argv.

Referenced by container_common_main(), GetCustomORB(), main(), and ArgvKeeperUnitTests::TEST_argvKeeper().