cgma
GSaveOpen Class Reference

#include <GSaveOpen.hpp>

List of all members.

Public Member Functions

 GSaveOpen ()
 ~GSaveOpen ()

Static Public Member Functions

static int gso_sets_ids ()
static int get_id_inc (RefEntity *entity)
static void set_error ()
static void add_error_id (int id)

Static Public Attributes

static int performingUndo = 0

Static Protected Attributes

static int gsoSetsIds = 0
static int gsoIncBodyId = 0
static int gsoIncRefVolumeId = 0
static int gsoIncRefFaceId = 0
static int gsoIncRefEdgeId = 0
static int gsoIncRefVertexId = 0
static int gsoErrorCount = 0
static DLIList< int > gsoErrorIdList

Detailed Description

Definition at line 18 of file GSaveOpen.hpp.


Constructor & Destructor Documentation


Member Function Documentation

static void GSaveOpen::add_error_id ( int  id) [static]
int GSaveOpen::get_id_inc ( RefEntity entity) [static]

Definition at line 60 of file GSaveOpen.cpp.

{
  const std::type_info* my_type = &entity->entity_type_info();

  if( *my_type == typeid(Body) )
    return gsoIncBodyId;
  else if( *my_type == typeid(RefVolume) )
    return gsoIncRefVolumeId;
  else if( *my_type == typeid(RefFace) )
    return gsoIncRefFaceId;
  else if( *my_type == typeid(RefEdge) )
    return gsoIncRefEdgeId;
  else if( *my_type == typeid(RefVertex) )
    return gsoIncRefVertexId;

  return -1; // This function doesn't understand the type
}
int GSaveOpen::gso_sets_ids ( ) [inline, static]

Definition at line 43 of file GSaveOpen.hpp.

{return gsoSetsIds;}
static void GSaveOpen::set_error ( ) [static]

Member Data Documentation

int GSaveOpen::gsoErrorCount = 0 [static, protected]

Definition at line 38 of file GSaveOpen.hpp.

DLIList< int > GSaveOpen::gsoErrorIdList [static, protected]

Definition at line 39 of file GSaveOpen.hpp.

int GSaveOpen::gsoIncBodyId = 0 [static, protected]

Definition at line 32 of file GSaveOpen.hpp.

int GSaveOpen::gsoIncRefEdgeId = 0 [static, protected]

Definition at line 35 of file GSaveOpen.hpp.

int GSaveOpen::gsoIncRefFaceId = 0 [static, protected]

Definition at line 34 of file GSaveOpen.hpp.

int GSaveOpen::gsoIncRefVertexId = 0 [static, protected]

Definition at line 36 of file GSaveOpen.hpp.

int GSaveOpen::gsoIncRefVolumeId = 0 [static, protected]

Definition at line 33 of file GSaveOpen.hpp.

int GSaveOpen::gsoSetsIds = 0 [static, protected]

Definition at line 31 of file GSaveOpen.hpp.

int GSaveOpen::performingUndo = 0 [static]

Definition at line 28 of file GSaveOpen.hpp.


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