1 | <!-- Documentation produced by the Html generator of Bouml (http://bouml.free.fr) --> |
---|
2 | <?xml version="1.0" encoding="UTF-8"?> |
---|
3 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
4 | <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg"> |
---|
5 | |
---|
6 | <head> |
---|
7 | <title>Class Constant</title> |
---|
8 | <link rel="stylesheet" href="style.css" type="text/css" /> |
---|
9 | </head> |
---|
10 | |
---|
11 | <body bgcolor="#ffffff"> |
---|
12 | |
---|
13 | <div class = "title">Class Constant</div> |
---|
14 | <p></p> |
---|
15 | |
---|
16 | <!-- ============================================================= --> |
---|
17 | |
---|
18 | <a name="refclass135042"></a> |
---|
19 | <p><br /> * Constant class, handles integer, floating point and std::string values.<br /> * Allows to store a couple of information: (constant , value):<br /> * the first is a constant that we want define with the directive defval;<br /> * the second is the value of this constant, that could be an integer, a float or a string.<br /> <br /></p><p>Declaration :</p><ul><li>C++ : class Constant : public <a href="class134530.html#refclass134530"><b>Object</b></a> </li></ul><p>Artifact : <a href="index.html#refartifact132738"><b>Constant</b></a></p><div class="sub"> |
---|
20 | <a name="refoperation179586"></a> |
---|
21 | <table><tr><td><div class="element">Operation <b>Constant</b></div></td></tr></table><p>*<br /> * Default constructor, creates unassigned constant.<br /> * @param aConstant is the name of the constant.<br /> * @param aText is the value of the declared constant.<br /> <br /></p><p>Declaration :</p><ul><li>Uml : + Constant(in aConstant : std::string, in aText : std::string) : </li><li>C++ : public: inline Constant(const std::string & aConstant = "", const std::string & aText = "") : Object(aConstant), theText(aText) </li></ul><a name="refoperation179714"></a> |
---|
22 | <table><tr><td><div class="element">Operation <b>getText</b></div></td></tr></table><p>*<br /> * Get the value of the couple (constant, value).<br /> * @return a string text of the value.<br /> <br /></p><p>Declaration :</p><ul><li>Uml : + getText() : std::string</li><li>C++ : public: inline const std::string & getText() const</li></ul><a name="refoperation179842"></a> |
---|
23 | <table><tr><td><div class="element">Operation <b>getPropertyCount</b></div></td></tr></table><p>! The number of information stored in this class.<br /></p><p>Declaration :</p><ul><li>Uml : static, + getPropertyCount() : int</li><li>C++ : public: static inline int getPropertyCount()</li></ul><a name="refoperation179970"></a> |
---|
24 | <table><tr><td><div class="element">Operation <b>getPropertyName</b></div></td></tr></table><p>! Get the name of the property: "constant" or "value".<br /></p><p>Declaration :</p><ul><li>Uml : static, + getPropertyName(in anIndex : int) : std::string</li><li>C++ : public: static inline std::string getPropertyName(int anIndex)</li></ul><a name="refoperation180098"></a> |
---|
25 | <table><tr><td><div class="element">Operation <b>getProperty</b></div></td></tr></table><p>! Get the name information in function of an integer that identifies it.<br /></p><p>Declaration :</p><ul><li>Uml : + getProperty(in anIndex : int) : std::string</li><li>C++ : public: inline std::string getProperty(int anIndex) const</li></ul><a name="refattribute139266"></a> |
---|
26 | <table><tr><td><div class="element">Attribute <b>theText</b></div></td></tr></table> |
---|
27 | <p>!< Assigned value.<br /></p><p>Declaration :</p><ul><li>Uml : - theText : std::string</li><li>C++ : private: std::string theText</li></ul></div> |
---|
28 | <p>All public operations : <a href="class134530.html#refoperation199042"><b>getName</b></a> , <a href="class135042.html#refoperation180098"><b>getProperty</b></a> , <a href="class134530.html#refoperation199426"><b>getProperty</b></a> , <a href="class135042.html#refoperation179842"><b>getPropertyCount</b></a> , <a href="class134530.html#refoperation199170"><b>getPropertyCount</b></a> , <a href="class135042.html#refoperation179970"><b>getPropertyName</b></a> , <a href="class134530.html#refoperation199298"><b>getPropertyName</b></a> , <a href="class135042.html#refoperation179714"><b>getText</b></a> , <a href="class134530.html#refoperation199554"><b>operator <</b></a> , <a href="class134530.html#refoperation198914"><b>setName</b></a> </p> |
---|
29 | </body> |
---|
30 | </html> |
---|