Sane C++ Libraries
C++ Platform Abstraction Libraries
Loading...
Searching...
No Matches
SC::Process::StdIn Struct Reference
Inheritance diagram for SC::Process::StdIn:
SC::Process::StdStream

Classes

struct  Inherit
 

Public Member Functions

 StdIn (Inherit)
 Inherits child process Input from parent process.
 
template<int N>
 StdIn (const char(&item)[N])
 Fills standard input with content of a C-String.
 
 StdIn (StringView string)
 Fills standard input with content of a StringView.
 
 StdIn (Span< const char > span)
 Fills standard input with content of a Span.
 
 StdStream (String &externalString)
 Read the process standard output/error into the given String.
 
 StdStream (Buffer &externalBuffer)
 Read the process standard output/error into the given Vector.
 
 StdStream (FileDescriptor &&file)
 Redirects child process standard output/error to a given file descriptor.
 
 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.
 
 StdStream (Buffer &externalBuffer)
 Read the process standard output/error into the given Vector.
 
 StdStream (FileDescriptor &&file)
 Redirects child process standard output/error to a given file descriptor.
 
 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
 
Bufferbuffer
 
FileDescriptor::Handle fileDescriptor
 
PipeDescriptorpipeDescriptor
 

Constructor & Destructor Documentation

◆ StdIn() [1/4]

SC::Process::StdIn::StdIn ( Inherit )
inline

Inherits child process Input from parent process.

◆ StdIn() [2/4]

template<int N>
SC::Process::StdIn::StdIn ( const char(&) item[N])
inline

Fills standard input with content of a C-String.

◆ StdIn() [3/4]

SC::Process::StdIn::StdIn ( StringView string)
inline

Fills standard input with content of a StringView.

◆ StdIn() [4/4]

SC::Process::StdIn::StdIn ( Span< const char > span)
inline

Fills standard input with content of a Span.

Member Function Documentation

◆ StdStream() [1/3]

SC::Process::StdStream::StdStream ( Buffer & externalBuffer)
inline

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

◆ StdStream() [2/3]

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

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

◆ StdStream() [3/3]

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

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


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