Lines Matching full:variable
8 * variable.h - handle jam multi-element variables
39 struct variable struct
41 inline variable(const variable &v) in variable() argument
43 inline variable(struct module_t *m, const char *v) in variable() function
45 inline variable(const char *m, const char *v) in variable() function
46 : variable(bindmodule(object_new(m)), v) {} in variable()
47 inline variable(const std::string &m, const std::string &v) in variable() argument
48 : variable(bindmodule(object_new(m.c_str())), v.c_str()) {} in variable()
49 inline explicit variable(const char *v) : variable(root_module(), v) {} in variable() argument
50 inline explicit variable(const std::string &v) : variable(v.c_str()) {} in variable() argument
51 inline ~variable() in ~variable() argument
58 inline variable & operator=(list && v) argument
63 inline variable & operator=(const list & v) { return *this = list{v}; }
64 inline variable & operator=(const char *v) { return *this = list{object{v}}; }
65 inline variable & operator=(const std::string &v) { return *this = list{object{v}}; }
67 inline variable & operator+=(list & v)
72 inline variable & operator+=(list && v)
77 inline variable & operator+=(const char *v) { return *this += list{object{v}}; }
78 inline variable & operator+=(const std::string &v) { return *this += list{object{v}}; }
80 inline variable & operator|=(list & v)
85 inline variable & operator|=(list && v)
90 inline variable & operator|=(const char *v) { return *this |= list{object{v}}; }
91 inline variable & operator|=(const std::string &v) { return *this |= list{object{v}}; }