CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
cmlabs::utils::CommandLineInfo Class Reference

Singleton snapshot of the parsed process command line (set via SetCommandLine()). More...

#include <Utils.h>

Collaboration diagram for cmlabs::utils::CommandLineInfo:
[legend]

Public Member Functions

 CommandLineInfo ()

Public Attributes

std::string CommandLineString
std::string CommandLineExec
std::string CommandLineExecOnly
std::string CommandLineExecPath
std::vector< std::string > CommandLineItems
std::map< std::string, std::string > CommandLineArgs

Static Public Attributes

static CommandLineInfoCommandLineInfoSingleton = NULL

Detailed Description

Singleton snapshot of the parsed process command line (set via SetCommandLine()).

Splits argv into the executable path/name, positional items and key=value arguments.

Definition at line 1291 of file Utils.h.

Constructor & Destructor Documentation

◆ CommandLineInfo()

cmlabs::utils::CommandLineInfo::CommandLineInfo ( )
inline

Definition at line 1294 of file Utils.h.

Member Data Documentation

◆ CommandLineArgs

std::map<std::string, std::string> cmlabs::utils::CommandLineInfo::CommandLineArgs

Definition at line 1300 of file Utils.h.

◆ CommandLineExec

std::string cmlabs::utils::CommandLineInfo::CommandLineExec

Definition at line 1296 of file Utils.h.

◆ CommandLineExecOnly

std::string cmlabs::utils::CommandLineInfo::CommandLineExecOnly

Definition at line 1297 of file Utils.h.

◆ CommandLineExecPath

std::string cmlabs::utils::CommandLineInfo::CommandLineExecPath

Definition at line 1298 of file Utils.h.

◆ CommandLineInfoSingleton

◆ CommandLineItems

std::vector<std::string> cmlabs::utils::CommandLineInfo::CommandLineItems

Definition at line 1299 of file Utils.h.

◆ CommandLineString

std::string cmlabs::utils::CommandLineInfo::CommandLineString

Definition at line 1295 of file Utils.h.


The documentation for this class was generated from the following files:
  • /home/ubuntu/c/partner/psyclone2/CMSDK/include/Utils.h
  • /home/ubuntu/c/partner/psyclone2/CMSDK/src/Utils.cpp