Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
core
src
Teuchos_LabeledObject.cpp
Go to the documentation of this file.
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
13
namespace
Teuchos {
14
15
16
LabeledObject::LabeledObject
()
17
: objectLabel_(
""
)
18
{}
19
20
21
LabeledObject::~LabeledObject
()
22
{}
23
24
25
void
LabeledObject::setObjectLabel
(
const
std::string &objectLabel )
26
{
27
objectLabel_
= objectLabel;
28
}
29
30
31
std::string
LabeledObject::getObjectLabel
()
const
32
{
33
return
objectLabel_
;
34
}
35
36
37
}
// namespace Teuchos
Teuchos::LabeledObject::objectLabel_
std::string objectLabel_
Definition:
Teuchos_LabeledObject.hpp:48
Teuchos::LabeledObject::getObjectLabel
virtual std::string getObjectLabel() const
Get the object label (see LabeledObject).
Definition:
Teuchos_LabeledObject.cpp:31
Teuchos::LabeledObject::~LabeledObject
virtual ~LabeledObject()
Definition:
Teuchos_LabeledObject.cpp:21
Teuchos::LabeledObject::setObjectLabel
virtual void setObjectLabel(const std::string &objectLabel)
Set the object label (see LabeledObject).
Definition:
Teuchos_LabeledObject.cpp:25
Teuchos::LabeledObject::LabeledObject
LabeledObject()
Construct with an empty label.
Definition:
Teuchos_LabeledObject.cpp:16
Teuchos_LabeledObject.hpp
Generated on Wed Dec 11 2024 09:20:45 for Teuchos Package Browser (Single Doxygen Collection) by
1.8.5