Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_LabeledObject.hpp
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 #ifndef TEUCHOS_LABELED_OBJECT_HPP
11 #define TEUCHOS_LABELED_OBJECT_HPP
12 
13 #include "Teuchos_ConfigDefs.hpp"
14 
15 
16 namespace Teuchos {
17 
18 
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
Base class for objects that contain a std::string label.
Teuchos header file which uses auto-configuration information to include necessary C++ headers...
#define TEUCHOSCORE_LIB_DLL_EXPORT