Sane C++ Libraries
C++ Platform Abstraction Libraries
SC::Process::StdOut Struct Reference
Inheritance diagram for SC::Process::StdOut:
SC::Process::StdStream

Classes

struct  Ignore
 
struct  Inherit
 

Public Member Functions

 StdOut (Ignore)
 Ignores child process standard output/error (child process output will be silenced) More...
 
 StdOut (Inherit)
 Inherits child process standard output/error (child process will print into parent process console) More...
 
 StdOut (Span< char > span)
 Read the process standard output/error into the given Span. More...
 
 StdStream (String &externalString)
 Read the process standard output/error into the given String. More...
 
 StdStream (Vector< char > &externalVector)
 Read the process standard output/error into the given Vector. More...
 
 StdStream (FileDescriptor &&file)
 Redirects child process standard output/error to a given file descriptor. More...
 
 StdStream (PipeDescriptor &pipe)
 
 StdStream ()=default
 
 StdStream (AlreadySetup)
 
- Public Member Functions inherited from SC::Process::StdStream
 StdStream (String &externalString)
 Read the process standard output/error into the given String. More...
 
 StdStream (Vector< char > &externalVector)
 Read the process standard output/error into the given Vector. More...
 
 StdStream (FileDescriptor &&file)
 Redirects child process standard output/error to a given file descriptor. More...
 
 StdStream (PipeDescriptor &pipe)
 

Friends

struct ProcessChain
 

Additional Inherited Members

- Protected Types inherited from SC::Process::StdStream
enum class  Operation {
  AlreadySetup ,
  Inherit ,
  Ignore ,
  ExternalPipe ,
  FileDescriptor ,
  Vector ,
  String ,
  WritableSpan ,
  ReadableSpan
}
 
- Protected Member Functions inherited from SC::Process::StdStream
 StdStream (AlreadySetup)
 
- Protected Attributes inherited from SC::Process::StdStream
Operation operation = Operation::Inherit
 
Span< const char > readableSpan
 
Span< char > writableSpan
 
Stringstring
 
Vector< char > * vector
 
FileDescriptor::Handle fileDescriptor
 
PipeDescriptorpipeDescriptor
 

Constructor & Destructor Documentation

◆ StdOut() [1/3]

SC::Process::StdOut::StdOut ( Ignore  )
inline

Ignores child process standard output/error (child process output will be silenced)

◆ StdOut() [2/3]

SC::Process::StdOut::StdOut ( Inherit  )
inline

Inherits child process standard output/error (child process will print into parent process console)

◆ StdOut() [3/3]

SC::Process::StdOut::StdOut ( Span< char >  span)
inline

Read the process standard output/error into the given Span.

Member Function Documentation

◆ StdStream() [1/3]

SC::Process::StdStream::StdStream ( FileDescriptor &&  file)
inline

Redirects child process standard output/error to a given file descriptor.

◆ StdStream() [2/3]

SC::Process::StdStream::StdStream ( String externalString)
inline

Read the process standard output/error into the given String.

◆ StdStream() [3/3]

SC::Process::StdStream::StdStream ( Vector< char > &  externalVector)
inline

Read the process standard output/error into the given Vector.


The documentation for this struct was generated from the following file: