Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
cxx_main.cpp File Reference
Include dependency graph for parameterlist/test/ParameterList/cxx_main.cpp:

Go to the source code of this file.

Classes

class  CommandLineProcessor
 Class that helps parse command line input arguments from (argc,argv[]) and set options. More...
 
class  ParameterList
 A list of parameters of arbitrary type. More...
 
class  ParameterEntry
 This object is held as the "value" in the Teuchos::ParameterList std::map. More...
 

Typedefs

typedef ParameterList::PrintOptions PLPrintOptions
 
typedef basic_OSTab< char > OSTab
 

Functions

void print_break ()
 
double Plus (double a, double b)
 
int main (int argc, char *argv[])
 
template<typename T>
T & getParameter (ParameterList &l, const std::string &name)
 A templated helper function for getting a parameter from a non-const list. This helper function prevents the need for giving a nominal value of the specific template type.
 
template<class T, class Dealloc_T>
TEUCHOS_DEPRECATED RCP< T > rcp (T *p, Dealloc_T dealloc, bool owns_mem)
 Deprecated.
 
template<typename T>
Ptr< T > inoutArg (T &arg)
 create a non-persisting (required or optional) input/output argument for a function call.
 

Typedef Documentation

◆ PLPrintOptions

◆ OSTab

typedef basic_OSTab<char> Teuchos::OSTab

Definition at line 851 of file Teuchos_FancyOStream.hpp.

Function Documentation

◆ print_break()

void print_break ( )

◆ Plus()

double Plus ( double a,
double b )

◆ main()

int main ( int argc,
char * argv[] )

◆ getParameter()

template<typename T>
T & getParameter ( ParameterList & l,
const std::string & name )
related

A templated helper function for getting a parameter from a non-const list. This helper function prevents the need for giving a nominal value of the specific template type.

Note
The syntax for calling this function is: getParameter<int>( list, "Iters" )

Definition at line 1306 of file Teuchos_ParameterList.hpp.

◆ rcp()

template<class T, class Dealloc_T>
TEUCHOS_DEPRECATED RCP< T > Teuchos::rcp ( T * p,
Dealloc_T dealloc,
bool owns_mem )
inline

Deprecated.

Definition at line 1266 of file Teuchos_RCPDecl.hpp.

◆ inoutArg()

template<typename T>
Ptr< T > inoutArg ( T & arg)
related

create a non-persisting (required or optional) input/output argument for a function call.

Definition at line 251 of file Teuchos_PtrDecl.hpp.