Lines Matching refs:Constant
29 class Constant;
185 /* Represents a constant, like M_PI. This is a grouping of the version specific specifications.
186 * We'll only have one instance of Constant for each name.
188 class Constant : public Definition {
193 Constant(const std::string& name) : Definition(name) {}
194 ~Constant();
261 /* Defines one of the many variations of a constant. There's a one to one correspondance between
266 Constant* mConstant; // Not owned
270 ConstantSpecification(Constant* constant) : mConstant(constant) {}
272 Constant* getConstant() const { return mConstant; }
275 // Parse a constant specification and add it to specFile.
525 std::map<std::string, Constant*> mDocumentedConstants;
548 const std::map<std::string, Constant*>& getDocumentedConstants() const {
579 std::map<std::string, Constant*> mConstants;
589 Constant* findOrCreateConstant(const std::string& name, bool* created);
601 const std::map<std::string, Constant*>& getConstants() const { return mConstants; }