Teuchos_CommandLineProcessor.cpp File Reference

#include "Teuchos_CommandLineProcessor.hpp"
#include "Teuchos_TestForException.hpp"

Include dependency graph for Teuchos_CommandLineProcessor.cpp:

Go to the source code of this file.

Namespaces

namespace  Teuchos

Defines

#define CLP_ERR_MSG
#define CLP_ERR_MSG
#define CLP_ERR_MSG

Functions

int my_max (int a, int b)
std::string remove_quotes (const std::string &str)
std::string add_quotes (const std::string &str)


Define Documentation

#define CLP_ERR_MSG
 

Value:

"Error, the value \"" << enum_str_val << "\" for the " \
      << j<<(j==1?"st":(j==2?"nd":(j==3?"rd":"th"))) << " option --" \
      << enum_opt_name << " was not recognized (use --help)!"

#define CLP_ERR_MSG
 

Value:

( recogniseAllOptions() ? "Error" : "Warning" ) \
      << ", option --" << enum_opt_name << " was given an invalid " \
      "initial option value of " << opt_value << "!"

#define CLP_ERR_MSG
 

Value:

( recogniseAllOptions() ? "Error" : "Warning" ) \
    << ", the " << j<<(j==1?"st":(j==2?"nd":(j==3?"rd":"th"))) \
    << " option \'" << argv[argv_i] << "\' was not recognized (use --help)!"


Function Documentation

int my_max int  a,
int  b
[inline, static]
 

Definition at line 41 of file Teuchos_CommandLineProcessor.cpp.

std::string remove_quotes const std::string &  str  )  [static]
 

Definition at line 43 of file Teuchos_CommandLineProcessor.cpp.

std::string add_quotes const std::string &  str  )  [static]
 

Definition at line 50 of file Teuchos_CommandLineProcessor.cpp.


Generated on Thu Sep 18 12:41:18 2008 for Teuchos - Trilinos Tools Package by doxygen 1.3.9.1