32 #ifndef __VMML__VISIBILITY__HPP__ 33 #define __VMML__VISIBILITY__HPP__ 41 VISIBILITY_PARTIAL = 1,
45 inline std::ostream& operator<< ( std::ostream& os,
const Visibility& v )
47 return os << ( v == VISIBILITY_NONE ?
"not visible " :
48 v == VISIBILITY_PARTIAL ?
"partially visible" :
49 v == VISIBILITY_FULL ?
"fully visible " :
"ERROR" );
heavily inspired by boost::enable_if http://www.boost.org, file: boost/utility/enable_if.hpp, Copyright 2003 Jaakko Järvi, Jeremiah Willcock, Andrew Lumsdaine