OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimSupportFilesList.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: MIT
4 //
5 // See LICENSE.txt file in the top level directory for more details.
6 //
7 // Author: Oscar Kramer
8 //
9 //********************************************************************
10 // $Id$
11 #ifndef ossimSupportFilesList_HEADER
12 #define ossimSupportFilesList_HEADER
13 
14 #include <vector>
16 
17 class ossimKeywordlist;
18 
19 //*************************************************************************************************
21 //*************************************************************************************************
23 {
24 public:
25  static ossimSupportFilesList* instance();
26 
28  void add(const ossimFilename& f) { m_list.push_back(f); }
29 
31  void save(ossimKeywordlist& kwl, const char* prefix) const;
32 
34  void clear() { m_list.clear(); }
35 
36 private:
38  ~ossimSupportFilesList() { m_instance=0; }
39 
40  std::vector<ossimFilename> m_list;
42 };
43 
44 #endif
#define OSSIMDLLEXPORT
Represents serializable keyword/value map.
std::vector< ossimFilename > m_list
void add(const ossimFilename &f)
Add support data filename to the list:
Singleton class for logging all support data files opened during a session.
void clear()
Clears the list to ready for new accumulation:
static ossimSupportFilesList * m_instance