Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Teuchos_LabeledObject.cpp
1// @HEADER
2// *****************************************************************************
3// Teuchos: Common Tools Package
4//
5// Copyright 2004 NTESS and the Teuchos contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#include "Teuchos_LabeledObject.hpp"
11
12
13namespace Teuchos {
14
15
17 : objectLabel_("")
18{}
19
20
23
24
25void LabeledObject::setObjectLabel( const std::string &objectLabel )
26{
27 objectLabel_ = objectLabel;
28}
29
30
32{
33 return objectLabel_;
34}
35
36
37} // namespace Teuchos
LabeledObject()
Construct with an empty label.
virtual void setObjectLabel(const std::string &objectLabel)
Set the object label (see LabeledObject).
virtual std::string getObjectLabel() const
Get the object label (see LabeledObject).
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...