Developer Documentation
OpenMesh::Attributes::StatusInfo Class Reference

#include <OpenMesh/Attributes/Status.hh>

Public Types

typedef unsigned int value_type
 

Public Member Functions

bool deleted () const
 is deleted ? More...
 
void set_deleted (bool _b)
 set deleted More...
 
bool locked () const
 is locked ? More...
 
void set_locked (bool _b)
 set locked More...
 
bool selected () const
 is selected ? More...
 
void set_selected (bool _b)
 set selected More...
 
bool hidden () const
 is hidden ? More...
 
void set_hidden (bool _b)
 set hidden More...
 
bool feature () const
 is feature ? More...
 
void set_feature (bool _b)
 set feature More...
 
bool tagged () const
 is tagged ? More...
 
void set_tagged (bool _b)
 set tagged More...
 
bool tagged2 () const
 is tagged2 ? This is just one more tag info. More...
 
void set_tagged2 (bool _b)
 set tagged More...
 
bool fixed_nonmanifold () const
 is fixed non-manifold ? More...
 
void set_fixed_nonmanifold (bool _b)
 set fixed non-manifold More...
 
unsigned int bits () const
 return whole status More...
 
void set_bits (unsigned int _bits)
 set whole status at once More...
 
bool is_bit_set (unsigned int _s) const
 is a certain bit set ? More...
 
void set_bit (unsigned int _s)
 set a certain bit More...
 
void unset_bit (unsigned int _s)
 unset a certain bit More...
 
void change_bit (unsigned int _s, bool _b)
 set or unset a certain bit More...
 

Private Attributes

value_type status_
 

Detailed Description

Add status information to a base class.

See also
StatusBits

Definition at line 94 of file Status.hh.

Member Typedef Documentation

◆ value_type

typedef unsigned int OpenMesh::Attributes::StatusInfo::value_type

Definition at line 98 of file Status.hh.

Constructor & Destructor Documentation

◆ StatusInfo()

OpenMesh::Attributes::StatusInfo::StatusInfo ( )
inline

Definition at line 100 of file Status.hh.

Member Function Documentation

◆ bits()

unsigned int OpenMesh::Attributes::StatusInfo::bits ( ) const
inline

return whole status

Definition at line 151 of file Status.hh.

◆ change_bit()

void OpenMesh::Attributes::StatusInfo::change_bit ( unsigned int  _s,
bool  _b 
)
inline

set or unset a certain bit

Definition at line 163 of file Status.hh.

◆ deleted()

bool OpenMesh::Attributes::StatusInfo::deleted ( ) const
inline

is deleted ?

Definition at line 103 of file Status.hh.

◆ feature()

bool OpenMesh::Attributes::StatusInfo::feature ( ) const
inline

is feature ?

Definition at line 127 of file Status.hh.

◆ fixed_nonmanifold()

bool OpenMesh::Attributes::StatusInfo::fixed_nonmanifold ( ) const
inline

is fixed non-manifold ?

Definition at line 145 of file Status.hh.

◆ hidden()

bool OpenMesh::Attributes::StatusInfo::hidden ( ) const
inline

is hidden ?

Definition at line 121 of file Status.hh.

◆ is_bit_set()

bool OpenMesh::Attributes::StatusInfo::is_bit_set ( unsigned int  _s) const
inline

is a certain bit set ?

Definition at line 157 of file Status.hh.

◆ locked()

bool OpenMesh::Attributes::StatusInfo::locked ( ) const
inline

is locked ?

Definition at line 109 of file Status.hh.

◆ selected()

bool OpenMesh::Attributes::StatusInfo::selected ( ) const
inline

is selected ?

Definition at line 115 of file Status.hh.

◆ set_bit()

void OpenMesh::Attributes::StatusInfo::set_bit ( unsigned int  _s)
inline

set a certain bit

Definition at line 159 of file Status.hh.

◆ set_bits()

void OpenMesh::Attributes::StatusInfo::set_bits ( unsigned int  _bits)
inline

set whole status at once

Definition at line 153 of file Status.hh.

◆ set_deleted()

void OpenMesh::Attributes::StatusInfo::set_deleted ( bool  _b)
inline

set deleted

Definition at line 105 of file Status.hh.

◆ set_feature()

void OpenMesh::Attributes::StatusInfo::set_feature ( bool  _b)
inline

set feature

Definition at line 129 of file Status.hh.

◆ set_fixed_nonmanifold()

void OpenMesh::Attributes::StatusInfo::set_fixed_nonmanifold ( bool  _b)
inline

set fixed non-manifold

Definition at line 147 of file Status.hh.

◆ set_hidden()

void OpenMesh::Attributes::StatusInfo::set_hidden ( bool  _b)
inline

set hidden

Definition at line 123 of file Status.hh.

◆ set_locked()

void OpenMesh::Attributes::StatusInfo::set_locked ( bool  _b)
inline

set locked

Definition at line 111 of file Status.hh.

◆ set_selected()

void OpenMesh::Attributes::StatusInfo::set_selected ( bool  _b)
inline

set selected

Definition at line 117 of file Status.hh.

◆ set_tagged()

void OpenMesh::Attributes::StatusInfo::set_tagged ( bool  _b)
inline

set tagged

Definition at line 135 of file Status.hh.

◆ set_tagged2()

void OpenMesh::Attributes::StatusInfo::set_tagged2 ( bool  _b)
inline

set tagged

Definition at line 141 of file Status.hh.

◆ tagged()

bool OpenMesh::Attributes::StatusInfo::tagged ( ) const
inline

is tagged ?

Definition at line 133 of file Status.hh.

◆ tagged2()

bool OpenMesh::Attributes::StatusInfo::tagged2 ( ) const
inline

is tagged2 ? This is just one more tag info.

Definition at line 139 of file Status.hh.

◆ unset_bit()

void OpenMesh::Attributes::StatusInfo::unset_bit ( unsigned int  _s)
inline

unset a certain bit

Definition at line 161 of file Status.hh.

Member Data Documentation

◆ status_

value_type OpenMesh::Attributes::StatusInfo::status_
private

Definition at line 169 of file Status.hh.


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