MOAB: Mesh Oriented datABase  (version 5.4.1)
CLArgs.hpp File Reference
#include "Mesquite.hpp"
#include <iosfwd>
#include <vector>
#include <string>
#include <sstream>
#include <iterator>
+ Include dependency graph for CLArgs.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CLArgs
 Parse command-line arguments. More...
class  CLArgs::ArgIBase
 Base class for callback interface (type-independent functions) More...
class  CLArgs::ArgTemplateI< T >
 Interface for type-specific callback classes. More...
class  CLArgs::ArgTemplate< T >
 Trivial implementation for type-specific classes. More...
class  CLArgs::ArgListTemplate< T >
 Trivial implementation for type-specific classes. More...
class  CLArgs::KeyWordArg
 String arugment that is limited to a list of acceptable keywords. More...
class  CLArgs::IntRange
class  CLArgs::IntRangeArg
 Integer argument constrained to a range of valid values. More...
class  CLArgs::IntListRangeArg
 Integer list argument constrained to a range of valid values. More...
class  CLArgs::DoubleRange
class  CLArgs::DoubleRangeArg
 Double argument constrained to a range of valid values. More...
class  CLArgs::DoubleListRangeArg
 Double list argument constrained to a range of valid values. More...

Functions

template<typename T >
std::ostream & operator<< (std::ostream &str, const std::vector< T > &list)

Detailed Description

Author:
Jason Kraftcheck

Definition in file CLArgs.hpp.


Function Documentation

template<typename T >
std::ostream& operator<< ( std::ostream &  str,
const std::vector< T > &  list 
)

Definition at line 548 of file CLArgs.hpp.

{
    typename std::vector< T >::const_iterator i = list.begin();
    if( i != list.end() )
    {
        str << *i;
        for( ++i; i != list.end(); ++i )
            str << ',' << *i;
    }
    return str;
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines