#include
"../kernel/value.h"
#include "../foundation/collection.h"
#include "../foundation/streams.h"
#include
"../macros/define_implementations.h"
Define Documentation
#define is_objectset |
( |
|
v |
) |
((DbgVerify(!is_sourcepositionwrapper(v)),
(v))->tag == class_tag(ObjectSet)) |
Function Documentation
Define an equal operator (i.e. '==') for maxscript visible
values.
Define a NOT equal operator (i.e. '!=') for maxscript visible
values.
visible_class_s |
( |
ObjectSet |
, |
|
|
Set |
|
|
) |
|
|
Define an equal operator (i.e. '==') for maxscript visible
values.
Define a NOT equal operator (i.e. '!=') for maxscript visible
values.
: public Set
{
protected:
ObjectSet() { }
public:
MSTR set_name;
BOOL (*selector)(INode* node, int level, const void* arg);
const void* selector_arg;
ObjectSet(const MCHAR* name, SClass_ID class_id);
ObjectSet(const MCHAR* init_name, BOOL (*sel_fn)(INode*, int, const void*), const void* init_arg = NULL);
void init(const MCHAR* name);
classof_methods (ObjectSet, Set);
static void setup();
const MCHAR* name() { return set_name; }
void collect();
void sprin1(CharStream* s) { s->printf(_M("$%s"), set_name); }
void export_to_scripter();
# define is_objectset(v) ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(ObjectSet))
ScripterExport Value* map(node_map& m);
ScripterExport Value* map_path(PathName* path, node_map& m);
ScripterExport Value* find_first(BOOL (*test_fn)(INode* node, int level, const void* arg), const void* test_arg);
ScripterExport Value* get_path(PathName* path);
#include "../macros/define_implementations.h"
def_generic (get, "get");
def_property ( count );
def_property ( center );
def_property ( min );
def_property ( max );
};
Variable Documentation