source: trunk/src/core/RpOption.cc @ 857

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

added basic doxygen tags for function definitions.

File size: 1.0 KB
RevLine 
[115]1/*
[121]2 * ----------------------------------------------------------------------
3 *  Rappture 2.0 Option Object Source
4 *
[115]5 * ======================================================================
[121]6 *  AUTHOR:  Derrick Kearney, Purdue University
[115]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 */
[37]13
[121]14#include "RpOption.h"
[37]15
[121]16/**********************************************************************/
17// METHOD: setLabel()
18/// Set the label of this object.
19/**
20 */
21
[37]22RpOption&
23RpOption::setLabel(std::string newLabel)
24{
25    about.setLabel(newLabel);
26    return *this;
27}
28
29
[121]30/**********************************************************************/
31// METHOD: getLabel()
32/// Report the label of this object.
33/**
34 */
35
[37]36std::string
37RpOption::getLabel() const
38{
39    return about.getLabel();
40}
41
42// -------------------------------------------------------------------- //
43
Note: See TracBrowser for help on using the repository browser.