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

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

added basic doxygen tags for function definitions.

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