Files
stepcode/include/ordered_attrs.h
T
Mark Pictor 2babafddc9 create ordered_attrs.*, use in print_attrs
this contains code to print attributes in the proper order for Part 21
2013-07-20 20:38:28 -04:00

32 lines
575 B
C++

#include <express/entity.h>
#include <express/variable.h>
#ifdef __cplusplus
#include <vector>
extern "C" {
#endif //__cplusplus
typedef struct {
Variable attr;
Entity creator, redefiner, deriver;
} orderedAttr;
///set the entity we're working on, init working variables
void orderedAttrsInit( Entity e );
///free memory
void orderedAttrsCleanup();
///get next attr; not thread safe (as if the rest of libexpress is)
const orderedAttr * nextAttr();
#ifdef __cplusplus
}
typedef std::vector<orderedAttr * > oaList;
oaList getAttrList();
#endif //__cplusplus