Lines Matching refs:Attr
73 // Attr: names for attributes within a record
76 typedef const char *Attr;
121 void setInt32(Attr, int32_t value);
122 void setInt64(Attr, int64_t value);
123 void setDouble(Attr, double value);
124 void setRate(Attr, int64_t count, int64_t duration);
125 void setCString(Attr, const char *value);
127 // fused get/add/set; if attr wasn't there, it's a simple set.
129 void addInt32(Attr, int32_t value);
130 void addInt64(Attr, int64_t value);
131 void addDouble(Attr, double value);
132 void addRate(Attr, int64_t count, int64_t duration);
135 // return indicates whether attr exists (and thus value filled in)
137 bool getInt32(Attr, int32_t *value);
138 bool getInt64(Attr, int64_t *value);
139 bool getDouble(Attr, double *value);
140 bool getRate(Attr, int64_t *count, int64_t *duration, double *rate);
142 bool getCString(Attr, char **value);
155 int32_t filter(int count, Attr attrs[]);
156 int32_t filterNot(int count, Attr attrs[]);
157 int32_t filter(Attr attr);