CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
Loading...
Searching...
No Matches
CppAD::cg::LangStreamStack< Base > Class Template Reference

#include <lang_stream_stack.hpp>

Collaboration diagram for CppAD::cg::LangStreamStack< Base >:
Collaboration graph

Public Member Functions

 LangStreamStack (std::ostream &out)
 
bool empty () const
 
void clear ()
 
void flush ()
 
OperationNode< Base > & startNewOperationNode ()
 

Friends

LangStreamStack< Base > & operator<< (LangStreamStack< Base > &lss, std::string text)
 
LangStreamStack< Base > & operator<< (LangStreamStack< Base > &lss, int i)
 
LangStreamStack< Base > & operator<< (LangStreamStack< Base > &lss, long int i)
 
LangStreamStack< Base > & operator<< (LangStreamStack< Base > &lss, long long int i)
 
LangStreamStack< Base > & operator<< (LangStreamStack< Base > &lss, unsigned int i)
 
LangStreamStack< Base > & operator<< (LangStreamStack< Base > &lss, long unsigned int i)
 
LangStreamStack< Base > & operator<< (LangStreamStack< Base > &lss, long long unsigned int i)
 
LangStreamStack< Base > & operator<< (LangStreamStack< Base > &lss, char text)
 
LangStreamStack< Base > & operator<< (LangStreamStack< Base > &lss, OperationNode< Base > &node)
 

Detailed Description

template<class Base>
class CppAD::cg::LangStreamStack< Base >

A cache for sending source code to an output stream which waits until the source for operation nodes are provided.

Template Parameters
Base

Definition at line 58 of file lang_stream_stack.hpp.

Constructor & Destructor Documentation

◆ LangStreamStack()

template<class Base >
CppAD::cg::LangStreamStack< Base >::LangStreamStack ( std::ostream &  out)
inline

Definition at line 64 of file lang_stream_stack.hpp.

Member Function Documentation

◆ clear()

template<class Base >
void CppAD::cg::LangStreamStack< Base >::clear ( )
inline

Definition at line 73 of file lang_stream_stack.hpp.

◆ empty()

template<class Base >
bool CppAD::cg::LangStreamStack< Base >::empty ( ) const
inline

Definition at line 69 of file lang_stream_stack.hpp.

◆ flush()

template<class Base >
void CppAD::cg::LangStreamStack< Base >::flush ( )
inline

Definition at line 78 of file lang_stream_stack.hpp.

◆ startNewOperationNode()

template<class Base >
OperationNode< Base > & CppAD::cg::LangStreamStack< Base >::startNewOperationNode ( )
inline

Definition at line 89 of file lang_stream_stack.hpp.

Friends And Related Symbol Documentation

◆ operator<< [1/9]

template<class Base >
LangStreamStack< Base > & operator<< ( LangStreamStack< Base > &  lss,
char  text 
)
friend

Definition at line 132 of file lang_stream_stack.hpp.

◆ operator<< [2/9]

template<class Base >
LangStreamStack< Base > & operator<< ( LangStreamStack< Base > &  lss,
int  i 
)
friend

Definition at line 108 of file lang_stream_stack.hpp.

◆ operator<< [3/9]

template<class Base >
LangStreamStack< Base > & operator<< ( LangStreamStack< Base > &  lss,
long int  i 
)
friend

Definition at line 112 of file lang_stream_stack.hpp.

◆ operator<< [4/9]

template<class Base >
LangStreamStack< Base > & operator<< ( LangStreamStack< Base > &  lss,
long long int  i 
)
friend

Definition at line 116 of file lang_stream_stack.hpp.

◆ operator<< [5/9]

template<class Base >
LangStreamStack< Base > & operator<< ( LangStreamStack< Base > &  lss,
long long unsigned int  i 
)
friend

Definition at line 128 of file lang_stream_stack.hpp.

◆ operator<< [6/9]

template<class Base >
LangStreamStack< Base > & operator<< ( LangStreamStack< Base > &  lss,
long unsigned int  i 
)
friend

Definition at line 124 of file lang_stream_stack.hpp.

◆ operator<< [7/9]

template<class Base >
LangStreamStack< Base > & operator<< ( LangStreamStack< Base > &  lss,
OperationNode< Base > &  node 
)
friend

Definition at line 136 of file lang_stream_stack.hpp.

◆ operator<< [8/9]

template<class Base >
LangStreamStack< Base > & operator<< ( LangStreamStack< Base > &  lss,
std::string  text 
)
friend

Definition at line 99 of file lang_stream_stack.hpp.

◆ operator<< [9/9]

template<class Base >
LangStreamStack< Base > & operator<< ( LangStreamStack< Base > &  lss,
unsigned int  i 
)
friend

Definition at line 120 of file lang_stream_stack.hpp.


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