pathname.h File Reference

Go to the source code of this file.

Classes

class   SceneNodeByNameCache

Defines

#define  is_pathname(v)   ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(PathName))

Enumerations

enum   path_flags { rooted_path = 1, wild_card_path = 2 }

Functions

  visible_class_debug_ok (PathName) class PathName

Variables

MCHAR *  ellipsis_level_name
MCHAR *  parent_level_name

Define Documentation

#define is_pathname (   v )    ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(PathName))

Enumeration Type Documentation

enum path_flags
Enumerator:
rooted_path 
wild_card_path 

Definition at line 13 of file pathname.h.

{ rooted_path = 1, wild_card_path = 2 };

Function Documentation

visible_class_debug_ok ( PathName  )

Define an equal operator (i.e. '==') for maxscript visible values.

Define a NOT equal operator (i.e. '!=') for maxscript visible values.

Definition at line 15 of file pathname.h.

               : public Set
{
public:
    int         flags;
    short       n_levels;
    MCHAR**     path_levels;
    Thunk*      root_set_thunk;
    Value*      root_set;

                PathName();
                ~PathName();
#   define      is_pathname(v) ((DbgVerify(!is_sourcepositionwrapper(v)), (v))->tag == class_tag(PathName))

                classof_methods (PathName, Set);
    void        collect() { delete this; }
    ScripterExport void     sprin1(CharStream* s);

    ScripterExport Value* eval();
    void        append(MCHAR* level_name);
    Value*      find_object(MCHAR* name);
    Value*      get_object();

    ScripterExport Value* map(node_map& m);

#include "..\macros\define_implementations.h"
    def_generic  (get,      "get");   // indexed get (no put or append)
    def_property ( count );
    def_property ( center );
    def_property ( min );
    def_property ( max );
};

Variable Documentation