Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | List of all members
om::lang::Optional< void > Class Template Reference

A 'void' specialization for the Optional class that is provided so that the class works for void types. More...

#include <omOptional.h>

Public Member Functions

 Optional ()
 Create an Optional object that stores a 'void' type. More...
 
void get ()
 Get the 'void' value stored in this Optional object. More...
 
void get () const
 Get the 'void' value stored in this Optional object. More...
 
Bool isSet () const
 Return whether or not the 'void' value in this Optional object is set. More...
 

Detailed Description

template<>
class om::lang::Optional< void >

A 'void' specialization for the Optional class that is provided so that the class works for void types.

Constructor & Destructor Documentation

om::lang::Optional< void >::Optional ( )
inline

Create an Optional object that stores a 'void' type.

Member Function Documentation

void om::lang::Optional< void >::get ( )
inline

Get the 'void' value stored in this Optional object.

void om::lang::Optional< void >::get ( ) const
inline

Get the 'void' value stored in this Optional object.

Bool om::lang::Optional< void >::isSet ( ) const
inline

Return whether or not the 'void' value in this Optional object is set.

This method always returns TRUE.


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