OpenMesh::Attributes::StatusInfo Class Reference

#include <OpenMesh/Attributes/Status.hh>

List of all members.

Public Types

typedef unsigned int value_type

Public Member Functions

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

Private Attributes

value_type status_

Detailed Description

Add status information to a base class.

See also:
StatusBits

Definition at line 92 of file Status.hh.


Member Typedef Documentation

Definition at line 96 of file Status.hh.


Constructor & Destructor Documentation

OpenMesh::Attributes::StatusInfo::StatusInfo (  )  [inline]

Definition at line 98 of file Status.hh.


Member Function Documentation

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

return whole status

Definition at line 149 of file Status.hh.

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

set or unset a certain bit

Definition at line 161 of file Status.hh.

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

is deleted ?

Definition at line 101 of file Status.hh.

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

is feature ?

Definition at line 125 of file Status.hh.

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

is fixed non-manifold ?

Definition at line 143 of file Status.hh.

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

is hidden ?

Definition at line 119 of file Status.hh.

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

is a certain bit set ?

Definition at line 155 of file Status.hh.

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

is locked ?

Definition at line 107 of file Status.hh.

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

is selected ?

Definition at line 113 of file Status.hh.

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

set a certain bit

Definition at line 157 of file Status.hh.

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

set whole status at once

Definition at line 151 of file Status.hh.

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

set deleted

Definition at line 103 of file Status.hh.

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

set feature

Definition at line 127 of file Status.hh.

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

set fixed non-manifold

Definition at line 145 of file Status.hh.

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

set hidden

Definition at line 121 of file Status.hh.

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

set locked

Definition at line 109 of file Status.hh.

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

set selected

Definition at line 115 of file Status.hh.

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

set tagged

Definition at line 133 of file Status.hh.

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

set tagged

Definition at line 139 of file Status.hh.

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

is tagged ?

Definition at line 131 of file Status.hh.

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

is tagged2 ? This is just one more tag info.

Definition at line 137 of file Status.hh.

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

unset a certain bit

Definition at line 159 of file Status.hh.


Member Data Documentation

Definition at line 167 of file Status.hh.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:17 2013