source: trunk/src/core/RpAbout.cc @ 597

Last change on this file since 597 was 121, checked in by dkearney, 19 years ago

added basic doxygen tags for function definitions.

File size: 2.7 KB
Line 
1/*
2 * ----------------------------------------------------------------------
3 *  RpAbout - Rappture 2.0 About XML object
4 *
5 * ======================================================================
6 *  AUTHOR:  Derrick Kearney, Purdue University
7 *  Copyright (c) 2004-2005  Purdue Research Foundation
8 *
9 *  See the file "license.terms" for information on usage and
10 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
11 * ======================================================================
12 */
13
14 #include "RpAbout.h"
15
16/**********************************************************************/
17// METHOD: setLabel()
18/// Set the label of this object.
19/**
20 */
21
22RpAbout&
23RpAbout::setLabel(std::string newLabel) {
24
25    label = newLabel;
26    return *this;
27}
28
29/**********************************************************************/
30// METHOD: setDesc()
31/// Set the description of this object.
32/**
33 */
34
35RpAbout&
36RpAbout::setDesc(std::string newDesc) {
37
38    desc = newDesc;
39    return *this;
40}
41
42/**********************************************************************/
43// METHOD: setHints()
44/// Set the hints of this object.
45/**
46 */
47
48RpAbout&
49RpAbout::setHints(std::string newHints) {
50
51    hints = newHints;
52    return *this;
53}
54
55/**********************************************************************/
56// METHOD: setColor()
57/// Set the color of this object.
58/**
59 */
60
61RpAbout&
62RpAbout::setColor(std::string newColor) {
63
64    color = newColor;
65    return *this;
66}
67
68/**********************************************************************/
69// METHOD: setIcon()
70/// Set the icon of this object.
71/**
72 */
73
74RpAbout&
75RpAbout::setIcon(std::string newIcon) {
76
77    icon = newIcon;
78    return *this;
79}
80
81
82/**********************************************************************/
83// METHOD: getLabel()
84/// Report the label of this object.
85/**
86 */
87
88std::string
89RpAbout::getLabel() const {
90
91    return label;
92}
93
94/**********************************************************************/
95// METHOD: getDesc()
96/// Report the description of this object.
97/**
98 */
99
100std::string
101RpAbout::getDesc() const {
102
103    return desc;
104}
105
106/**********************************************************************/
107// METHOD: getHints()
108/// Report the hints of this object.
109/**
110 */
111
112std::string
113RpAbout::getHints() const {
114
115    return hints;
116}
117
118/**********************************************************************/
119// METHOD: getColor()
120/// Report the color of this object.
121/**
122 */
123
124std::string
125RpAbout::getColor() const {
126
127    return color;
128}
129
130/**********************************************************************/
131// METHOD: getIcon()
132/// Report the icon of this object.
133/**
134 */
135
136std::string
137RpAbout::getIcon() const {
138
139    return icon;
140}
141
142
143// -------------------------------------------------------------------- //
Note: See TracBrowser for help on using the repository browser.