BRL-CAD
basic_parser_state< ObjContentsT > Struct Template Reference

#include <obj_parser_state.h>

Collaboration diagram for basic_parser_state< ObjContentsT >:
[legend]

Data Structures

struct  file_node
 

Public Types

typedef ObjContentsT contents_type
 
typedef contents_type::string_type string_type
 
typedef std::basic_stringstream< typename string_type::value_type, typename string_type::traits_type, typename string_type::allocator_type > stringstream_type
 
typedef std::size_t index_type
 
typedef tuple< index_type, 1 > index1_type
 
typedef tuple< index_type, 2 > index2_type
 
typedef tuple< index_type, 3 > index3_type
 
typedef contents_type::polygonal_v_indexvec_type polygonal_v_indexvec_type
 
typedef contents_type::polygonal_tv_indexvec_type polygonal_tv_indexvec_type
 
typedef contents_type::polygonal_nv_indexvec_type polygonal_nv_indexvec_type
 
typedef contents_type::polygonal_tnv_indexvec_type polygonal_tnv_indexvec_type
 
typedef contents_type::indexvec_type indexvec_type
 
typedef contents_type::indexvec_vec_type indexvec_vec_type
 
typedef indexvec_vec_type::size_type indexvec_vec_index_type
 
typedef std::set< string_typestringset_type
 
typedef contents_type::stringvec_type stringvec_type
 
typedef contents_type::charvec_type charvec_type
 
typedef stringvec_type::size_type stringvec_index_type
 
typedef std::map< string_type, typename charvec_type::size_type > string_index_map_type
 
typedef std::map< stringset_type, indexvec_vec_index_typegroupset_index_map_type
 
typedef std::map< string_type, stringvec_index_typeobject_index_map_type
 
typedef std::map< string_type, stringvec_index_typematerial_index_map_type
 
typedef std::map< stringset_type, indexvec_vec_index_typemateriallibset_index_map_type
 
typedef std::map< string_type, stringvec_index_typetexmap_index_map_type
 
typedef std::map< stringset_type, indexvec_vec_index_typetexmaplibset_index_map_type
 
typedef std::map< string_type, stringvec_index_typeshadow_obj_index_map_type
 
typedef std::map< string_type, stringvec_index_typetrace_obj_index_map_type
 
typedef contents_type::polyattributes_vec_type polyattributes_vec_type
 
typedef polyattributes_vec_type::size_type polyattributes_vec_index_type
 
typedef std::map< obj_polygonal_attributes_t, polyattributes_vec_index_typepolyattributes_index_map_type
 

Data Fields

std::vector< file_nodefile_stack
 
stringstream_type err
 
bool syntaxError
 
string_type working_string
 
stringset_type working_stringset
 
obj_polygonal_attributes_t working_polyattributes
 
string_index_map_type group_index_map
 
indexvec_vec_index_type current_groupset
 
groupset_index_map_type groupset_index_map
 
stringvec_index_type current_object
 
object_index_map_type object_index_map
 
stringvec_index_type current_material
 
material_index_map_type material_index_map
 
string_index_map_type materiallib_index_map
 
indexvec_vec_index_type current_materiallib
 
materiallibset_index_map_type materiallibset_index_map
 
stringvec_index_type current_texmap
 
texmap_index_map_type texmap_index_map
 
string_index_map_type texmaplib_index_map
 
indexvec_vec_index_type current_texmaplib
 
texmaplibset_index_map_type texmaplibset_index_map
 
stringvec_index_type current_shadow_obj
 
shadow_obj_index_map_type shadow_obj_index_map
 
stringvec_index_type current_trace_obj
 
trace_obj_index_map_type trace_obj_index_map
 
bool polyattributes_dirty
 
polyattributes_vec_index_type current_polyattributes
 
polyattributes_index_map_type polyattributes_index_map
 

Detailed Description

template<typename ObjContentsT>
struct cad::gcv::obj::basic_parser_state< ObjContentsT >

Definition at line 209 of file obj_parser_state.h.

Member Typedef Documentation

typedef ObjContentsT contents_type

Definition at line 210 of file obj_parser_state.h.

typedef contents_type::string_type string_type

Definition at line 211 of file obj_parser_state.h.

typedef std::basic_stringstream<typename string_type::value_type, typename string_type::traits_type, typename string_type::allocator_type> stringstream_type

Definition at line 216 of file obj_parser_state.h.

typedef std::size_t index_type

Definition at line 218 of file obj_parser_state.h.

Definition at line 220 of file obj_parser_state.h.

Definition at line 221 of file obj_parser_state.h.

Definition at line 222 of file obj_parser_state.h.

typedef contents_type::polygonal_v_indexvec_type polygonal_v_indexvec_type

Definition at line 225 of file obj_parser_state.h.

typedef contents_type::polygonal_tv_indexvec_type polygonal_tv_indexvec_type

Definition at line 228 of file obj_parser_state.h.

typedef contents_type::polygonal_nv_indexvec_type polygonal_nv_indexvec_type

Definition at line 231 of file obj_parser_state.h.

typedef contents_type::polygonal_tnv_indexvec_type polygonal_tnv_indexvec_type

Definition at line 234 of file obj_parser_state.h.

typedef contents_type::indexvec_type indexvec_type

Definition at line 236 of file obj_parser_state.h.

typedef contents_type::indexvec_vec_type indexvec_vec_type

Definition at line 237 of file obj_parser_state.h.

typedef indexvec_vec_type::size_type indexvec_vec_index_type

Definition at line 238 of file obj_parser_state.h.

typedef std::set<string_type> stringset_type

Definition at line 240 of file obj_parser_state.h.

typedef contents_type::stringvec_type stringvec_type

Definition at line 241 of file obj_parser_state.h.

typedef contents_type::charvec_type charvec_type

Definition at line 242 of file obj_parser_state.h.

typedef stringvec_type::size_type stringvec_index_type

Definition at line 243 of file obj_parser_state.h.

typedef std::map<string_type, typename charvec_type::size_type> string_index_map_type

Definition at line 246 of file obj_parser_state.h.

Definition at line 252 of file obj_parser_state.h.

Definition at line 255 of file obj_parser_state.h.

Definition at line 261 of file obj_parser_state.h.

Definition at line 267 of file obj_parser_state.h.

Definition at line 270 of file obj_parser_state.h.

typedef contents_type::polyattributes_vec_type polyattributes_vec_type

Definition at line 273 of file obj_parser_state.h.

typedef polyattributes_vec_type::size_type polyattributes_vec_index_type

Definition at line 276 of file obj_parser_state.h.

Field Documentation

std::vector<file_node> file_stack

Definition at line 288 of file obj_parser_state.h.

Definition at line 289 of file obj_parser_state.h.

bool syntaxError

Definition at line 290 of file obj_parser_state.h.

string_type working_string

Working contents for content construction during parse

Definition at line 295 of file obj_parser_state.h.

string_index_map_type group_index_map

Definition at line 300 of file obj_parser_state.h.

indexvec_vec_index_type current_groupset

Definition at line 301 of file obj_parser_state.h.

groupset_index_map_type groupset_index_map

Definition at line 302 of file obj_parser_state.h.

Referenced by cad::gcv::obj::set_working_groupset().

stringvec_index_type current_object

Definition at line 305 of file obj_parser_state.h.

object_index_map_type object_index_map

Definition at line 306 of file obj_parser_state.h.

Referenced by cad::gcv::obj::set_working_object().

stringvec_index_type current_material

Definition at line 309 of file obj_parser_state.h.

material_index_map_type material_index_map

Definition at line 310 of file obj_parser_state.h.

Referenced by cad::gcv::obj::set_working_material().

string_index_map_type materiallib_index_map

Definition at line 313 of file obj_parser_state.h.

indexvec_vec_index_type current_materiallib

Definition at line 314 of file obj_parser_state.h.

materiallibset_index_map_type materiallibset_index_map

Definition at line 315 of file obj_parser_state.h.

Referenced by cad::gcv::obj::set_working_materiallib().

stringvec_index_type current_texmap

Definition at line 318 of file obj_parser_state.h.

texmap_index_map_type texmap_index_map

Definition at line 319 of file obj_parser_state.h.

Referenced by cad::gcv::obj::set_working_texmap().

string_index_map_type texmaplib_index_map

Definition at line 322 of file obj_parser_state.h.

indexvec_vec_index_type current_texmaplib

Definition at line 323 of file obj_parser_state.h.

texmaplibset_index_map_type texmaplibset_index_map

Definition at line 324 of file obj_parser_state.h.

Referenced by cad::gcv::obj::set_working_texmaplib().

stringvec_index_type current_shadow_obj

Definition at line 327 of file obj_parser_state.h.

shadow_obj_index_map_type shadow_obj_index_map

Definition at line 328 of file obj_parser_state.h.

Referenced by cad::gcv::obj::set_working_shadow_obj().

stringvec_index_type current_trace_obj

Definition at line 331 of file obj_parser_state.h.

trace_obj_index_map_type trace_obj_index_map

Definition at line 332 of file obj_parser_state.h.

Referenced by cad::gcv::obj::set_working_trace_obj().

bool polyattributes_dirty
polyattributes_vec_index_type current_polyattributes

Definition at line 335 of file obj_parser_state.h.

polyattributes_index_map_type polyattributes_index_map

Definition at line 336 of file obj_parser_state.h.

Referenced by cad::gcv::obj::set_working_polygattributes().


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