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::StreamWriter< Function, Stream > Struct Template Reference

#include <optionparser.h>

Inheritance diagram for option::PrintUsageImplementation::StreamWriter< Function, Stream >:
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...
 
 StreamWriter (Function *w, Stream *s)
 

Public Attributes

Function * fwrite
 
Stream * stream
 

Detailed Description

template<typename Function, typename Stream>
struct option::PrintUsageImplementation::StreamWriter< Function, Stream >

Definition at line 1831 of file optionparser.h.

Constructor & Destructor Documentation

template<typename Function, typename Stream>
option::PrintUsageImplementation::StreamWriter< Function, Stream >::StreamWriter ( Function *  w,
Stream *  s 
)
inline

Definition at line 1841 of file optionparser.h.

Member Function Documentation

template<typename Function, typename Stream>
virtual void option::PrintUsageImplementation::StreamWriter< Function, Stream >::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 1836 of file optionparser.h.

References casa::vi::size(), and option::PrintUsageImplementation::StreamWriter< Function, Stream >::stream.

Member Data Documentation

template<typename Function, typename Stream>
Function* option::PrintUsageImplementation::StreamWriter< Function, Stream >::fwrite

Definition at line 1833 of file optionparser.h.

template<typename Function, typename Stream>
Stream* option::PrintUsageImplementation::StreamWriter< Function, Stream >::stream

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