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 154 of file gprocess.h.

Constructor & Destructor Documentation

◆ Id() [1/4]

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

Definition at line 255 of file gprocess_unix.cpp.

◆ Id() [2/4]

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

Definition at line 226 of file gprocess.h.

◆ Id() [3/4]

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

Definition at line 216 of file gprocess.h.

◆ Id() [4/4]

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

Definition at line 221 of file gprocess.h.

Member Function Documentation

◆ invalid()

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

Definition at line 234 of file gprocess.h.

◆ operator!=()

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

Definition at line 274 of file gprocess_unix.cpp.

◆ operator==()

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

Definition at line 268 of file gprocess_unix.cpp.

◆ seed()

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

Definition at line 173 of file gprocess.h.

◆ str()

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

Definition at line 260 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 165 of file gprocess.h.

Friends And Related Function Documentation

◆ NewProcess

friend class NewProcess
friend

Definition at line 179 of file gprocess.h.

◆ Process

friend class Process
friend

Definition at line 180 of file gprocess.h.


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