Teuchos - Trilinos Tools Package
Version of the Day
Toggle main menu visibility
Loading...
Searching...
No Matches
core
src
Teuchos_LabeledObject.hpp
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
#ifndef TEUCHOS_LABELED_OBJECT_HPP
11
#define TEUCHOS_LABELED_OBJECT_HPP
12
13
#include "
Teuchos_ConfigDefs.hpp
"
14
15
16
namespace
Teuchos
{
17
18
37
class
TEUCHOSCORE_LIB_DLL_EXPORT
LabeledObject
{
38
public
:
40
LabeledObject
();
42
virtual
~LabeledObject
();
44
virtual
void
setObjectLabel
(
const
std::string &objectLabel );
46
virtual
std::string
getObjectLabel
()
const
;
47
private
:
48
std::string objectLabel_;
49
};
50
51
52
}
// namespace Teuchos
53
54
55
#endif
// TEUCHOS_LABELED_OBJECT_HPP
Teuchos_ConfigDefs.hpp
Teuchos header file which uses auto-configuration information to include necessary C++ headers.
Teuchos::LabeledObject::LabeledObject
LabeledObject()
Construct with an empty label.
Definition
Teuchos_LabeledObject.cpp:16
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
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...
Generated by
1.17.0