Teuchos - Trilinos Tools Package
Version of the Day
Loading...
Searching...
No Matches
core
src
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
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::LabeledObject
LabeledObject()
Construct with an empty label.
Definition
Teuchos_LabeledObject.cpp:16
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::getObjectLabel
virtual std::string getObjectLabel() const
Get the object label (see LabeledObject).
Definition
Teuchos_LabeledObject.cpp:31
Teuchos::RCP
Smart reference counting pointer class for automatic garbage collection.
Definition
Teuchos_RCPDecl.hpp:397
Teuchos
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
Generated on Thu Oct 9 2025 20:59:53 for Teuchos - Trilinos Tools Package by
1.9.8