casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
option::PrintUsageImplementation::SyscallWriter< Syscall > Struct Template Reference

#include <optionparser.h>

Inheritance diagram for option::PrintUsageImplementation::SyscallWriter< Syscall >:
option::PrintUsageImplementation::IStringWriter

Public Member Functions

virtual void operator() (const char *str, int size)
 Writes the given number of chars beginning at the given pointer somewhere. More...
 
 SyscallWriter (Syscall *w, int f)
 

Public Attributes

Syscall * write
 
int fd
 

Detailed Description

template<typename Syscall>
struct option::PrintUsageImplementation::SyscallWriter< Syscall >

Definition at line 1810 of file optionparser.h.

Constructor & Destructor Documentation

template<typename Syscall>
option::PrintUsageImplementation::SyscallWriter< Syscall >::SyscallWriter ( Syscall *  w,
int  f 
)
inline

Definition at line 1820 of file optionparser.h.

Member Function Documentation

template<typename Syscall>
virtual void option::PrintUsageImplementation::SyscallWriter< Syscall >::operator() ( const char *  ,
int   
)
inlinevirtual

Writes the given number of chars beginning at the given pointer somewhere.

Reimplemented from option::PrintUsageImplementation::IStringWriter.

Definition at line 1815 of file optionparser.h.

References option::PrintUsageImplementation::SyscallWriter< Syscall >::fd, and casa::vi::size().

Member Data Documentation

template<typename Syscall>
int option::PrintUsageImplementation::SyscallWriter< Syscall >::fd
template<typename Syscall>
Syscall* option::PrintUsageImplementation::SyscallWriter< Syscall >::write

Definition at line 1812 of file optionparser.h.


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