32 lines
575 B
C++
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
|