Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
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
14
15
16namespace Teuchos {
17
18
37class TEUCHOSCORE_LIB_DLL_EXPORT LabeledObject {
38public:
42 virtual ~LabeledObject();
44 virtual void setObjectLabel( const std::string &objectLabel );
46 virtual std::string getObjectLabel() const;
47private:
48 std::string objectLabel_;
49};
50
51
52} // namespace Teuchos
53
54
55#endif // TEUCHOS_LABELED_OBJECT_HPP
Teuchos header file which uses auto-configuration information to include necessary C++ headers.
Base class for objects that contain a std::string label.
Smart reference counting pointer class for automatic garbage collection.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...