PPL  1.2
Parma_Polyhedra_Library::Interval_Info_Null_Open< Policy > Class Template Reference

#include <Interval_Info_defs.hh>

Inheritance diagram for Parma_Polyhedra_Library::Interval_Info_Null_Open< Policy >:
Collaboration diagram for Parma_Polyhedra_Library::Interval_Info_Null_Open< Policy >:

Public Member Functions

 const_bool_nodef (store_open, true)
 
 Interval_Info_Null_Open (bool o)
 
bool get_boundary_property (Boundary_Type, const Boundary_NS::Property &p) const
 
void ascii_dump (std::ostream &s) const
 
bool ascii_load (std::istream &s)
 
- Public Member Functions inherited from Parma_Polyhedra_Library::Interval_Info_Null< Policy >
 const_bool_nodef (may_be_empty, Policy::may_be_empty)
 
 const_bool_nodef (may_contain_infinity, Policy::may_contain_infinity)
 
 const_bool_nodef (check_inexact, Policy::check_inexact)
 
 const_bool_nodef (store_special, false)
 
 const_bool_nodef (store_open, false)
 
 const_bool_nodef (cache_empty, false)
 
 const_bool_nodef (cache_singleton, false)
 
 Interval_Info_Null ()
 
void clear ()
 
void clear_boundary_properties (Boundary_Type)
 
template<typename Property >
void set_boundary_property (Boundary_Type, const Property &, typename Property::Value=Property::default_value)
 
template<typename Property >
Property::Value get_boundary_property (Boundary_Type, const Property &) const
 
template<typename Property >
void set_interval_property (const Property &, typename Property::Value=Property::default_value)
 
template<typename Property >
Property::Value get_interval_property (const Property &) const
 
void m_swap (Interval_Info_Null &y)
 Swaps *this with y. More...
 
void ascii_dump (std::ostream &s) const
 
bool ascii_load (std::istream &s)
 

Private Attributes

bool open
 

Additional Inherited Members

Detailed Description

template<typename Policy>
class Parma_Polyhedra_Library::Interval_Info_Null_Open< Policy >

Definition at line 141 of file Interval_Info_defs.hh.

Constructor & Destructor Documentation

template<typename Policy >
Parma_Polyhedra_Library::Interval_Info_Null_Open< Policy >::Interval_Info_Null_Open ( bool  o)
inline

Definition at line 144 of file Interval_Info_defs.hh.

Member Function Documentation

template<typename Policy >
void Parma_Polyhedra_Library::Interval_Info_Null_Open< Policy >::ascii_dump ( std::ostream &  s) const
inline

Definition at line 49 of file Interval_Info_inlines.hh.

49  {
50  s << (open ? "open" : "closed");
51 }
template<typename Policy >
bool Parma_Polyhedra_Library::Interval_Info_Null_Open< Policy >::ascii_load ( std::istream &  s)
inline

Definition at line 55 of file Interval_Info_inlines.hh.

55  {
56  std::string str;
57  if (!(s >> str)) {
58  return false;
59  }
60  if (str == "open") {
61  open = true;
62  return true;
63  }
64  if (str == "closed") {
65  open = false;
66  return true;
67  }
68  return false;
69 }
template<typename Policy >
Parma_Polyhedra_Library::Interval_Info_Null_Open< Policy >::const_bool_nodef ( store_open  ,
true   
)

Member Data Documentation

template<typename Policy >
bool Parma_Polyhedra_Library::Interval_Info_Null_Open< Policy >::open
private

Definition at line 161 of file Interval_Info_defs.hh.


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