![]() |
Home | Libraries | People | FAQ | More |
boost::process::basic_native_environment — Definition of the environment for the current process.
// In header: <boost/process/environment.hpp> template<typename Char> class basic_native_environment { public: // types typedef ; typedef ; typedef ; typedef ; typedef ; typedef ; // member classes/structs/unions template<typename Char, typename Environment> struct const_entry_type { // types typedef ; typedef ; typedef ; typedef ; typedef ; // construct/copy/destruct () = ; // public member functions () ; () = ; () ; }; template<typename Char, typename Environment> struct entry_type { // types typedef ; typedef ; typedef ; typedef ; typedef ; // construct/copy/destruct () = ; (); (); // public member functions () ; () = ; () ; (); (); (); (); (); }; // construct/copy/destruct (); (basic_native_environment &&); basic_native_environment & (basic_native_environment &&); // public member functions (); () ; () ; (); () ; () ; (); () ; () ; (); (, ); (); () ; entry_type (); const_entry_type () ; entry_type (); };
Template representation of the environment of this process. It takes a template as template parameter to implement the environment. All instances of this class refer to the same environment, but might not get updated if another one makes changes.
basic_native_environment
public
construct/copy/destruct();Default constructor.
(basic_native_environment &&);Move constructor.
basic_native_environment & (basic_native_environment &&);Move assignment.
basic_native_environment
public member functions();Returns an iterator to the beginning.
() ;Returns an iterator to the beginning.
() ;Returns an iterator to the beginning.
();Returns an iterator to the end.
() ;Returns an iterator to the end.
() ;Returns an iterator to the end.
( key);Find a variable by its name.
( key) ;Find a variable by its name.
( st) ;Number of variables.
( id);
Erase variable by id.
( id, value);Emplace an environment variable.
();Check if environment has entries.
() ;Get the number of variables.
entry_type ( key);Get the entry with the key. Throws if it does not exist.
const_entry_type ( key) ;Get the entry with the key. Throws if it does not exist.
entry_type ( key);Get the entry with the given key. It creates the entry if it doesn't exist.