E-MailRelay
Public Member Functions | Static Public Member Functions | Friends | List of all members
G::Process::Id Class Reference

Process-id class. More...

#include <gprocess.h>

Public Member Functions

 Id (const char *, const char *end) noexcept
 
 Id (int) noexcept
 
 Id (std::istream &)
 
std::string str () const
 
bool operator== (const Id &) const noexcept
 
bool operator!= (const Id &) const noexcept
 
template<typename T >
value (typename std::enable_if< std::numeric_limits< T >::max() >=std::numeric_limits< pid_t >::max()> ::type *=0) const noexcept
 
template<typename T >
seed () const noexcept
 

Static Public Member Functions

static Id invalid () noexcept
 

Friends

class NewProcess
 
class Process
 

Detailed Description

Process-id class.

Definition at line 166 of file gprocess.h.

Constructor & Destructor Documentation

◆ Id() [1/4]

G::Process::Id::Id ( )
noexcept

Definition at line 278 of file gprocess_unix.cpp.

◆ Id() [2/4]

G::Process::Id::Id ( const char *  p,
const char *  end 
)
inlineexplicitnoexcept

Definition at line 241 of file gprocess.h.

◆ Id() [3/4]

G::Process::Id::Id ( int  n)
inlineexplicitnoexcept

Definition at line 231 of file gprocess.h.

◆ Id() [4/4]

G::Process::Id::Id ( std::istream &  stream)
inlineexplicit

Definition at line 236 of file gprocess.h.

Member Function Documentation

◆ invalid()

G::Process::Id G::Process::Id::invalid ( )
inlinestaticnoexcept

Definition at line 249 of file gprocess.h.

◆ operator!=()

bool G::Process::Id::operator!= ( const Id other) const
noexcept

Definition at line 297 of file gprocess_unix.cpp.

◆ operator==()

bool G::Process::Id::operator== ( const Id other) const
noexcept

Definition at line 291 of file gprocess_unix.cpp.

◆ seed()

template<typename T >
T G::Process::Id::seed ( ) const
inlinenoexcept

Definition at line 185 of file gprocess.h.

◆ str()

std::string G::Process::Id::str ( ) const

Definition at line 283 of file gprocess_unix.cpp.

◆ value()

template<typename T >
T G::Process::Id::value ( typename std::enable_if< std::numeric_limits< T >::max() >  = std::numeric_limits<pid_t>::max(),
::type *  = 0 
) const
inlinenoexcept

Definition at line 177 of file gprocess.h.

Friends And Related Function Documentation

◆ NewProcess

friend class NewProcess
friend

Definition at line 191 of file gprocess.h.

◆ Process

friend class Process
friend

Definition at line 192 of file gprocess.h.


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