casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
casatools::OptionValue< T > Class Template Reference

#include <Opt.h>

Public Member Functions

const T & get ()
 
bool has_value ()
 

Private Member Functions

 OptionValue ()
 
 OptionValue (const T &val)
 

Private Attributes

bool has_value_
 
value_
 

Friends

template<typename U >
class opt
 

Detailed Description

template<typename T>
class casatools::OptionValue< T >

Definition at line 32 of file Opt.h.

Constructor & Destructor Documentation

template<typename T >
casatools::OptionValue< T >::OptionValue ( )
inlineprivate

Definition at line 42 of file Opt.h.

template<typename T >
casatools::OptionValue< T >::OptionValue ( const T &  val)
inlineprivate

Definition at line 43 of file Opt.h.

Member Function Documentation

template<typename T >
const T& casatools::OptionValue< T >::get ( )
inline
template<typename T >
bool casatools::OptionValue< T >::has_value ( )
inline

Definition at line 39 of file Opt.h.

References casatools::OptionValue< T >::has_value_.

Friends And Related Function Documentation

template<typename T >
template<typename U >
friend class opt
friend

Definition at line 41 of file Opt.h.

Member Data Documentation

template<typename T >
bool casatools::OptionValue< T >::has_value_
private
template<typename T >
T casatools::OptionValue< T >::value_
private

Definition at line 45 of file Opt.h.

Referenced by casatools::OptionValue< T >::get().


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