1 //===-- OptionValueFileSpecList.h -------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef liblldb_OptionValueFileSpecList_h_
11 #define liblldb_OptionValueFileSpecList_h_
15 // Other libraries and framework includes
17 #include "lldb/Core/FileSpecList.h"
18 #include "lldb/Interpreter/OptionValue.h"
20 namespace lldb_private {
22 class OptionValueFileSpecList : public OptionValue
25 OptionValueFileSpecList () :
31 OptionValueFileSpecList (const FileSpecList ¤t_value) :
33 m_current_value (current_value)
39 ~OptionValueFileSpecList()
43 //---------------------------------------------------------------------
44 // Virtual subclass pure virtual overrides
45 //---------------------------------------------------------------------
47 virtual OptionValue::Type
50 return eTypeFileSpecList;
54 DumpValue (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask);
57 SetValueFromCString (const char *value,
58 VarSetOperationType op = eVarSetOperationAssign);
63 m_current_value.Clear();
64 m_value_was_set = false;
68 virtual lldb::OptionValueSP
72 IsAggregateValue () const
77 //---------------------------------------------------------------------
78 // Subclass specific functions
79 //---------------------------------------------------------------------
84 return m_current_value;
88 GetCurrentValue() const
90 return m_current_value;
94 SetCurrentValue (const FileSpecList &value)
96 m_current_value = value;
100 FileSpecList m_current_value;
103 } // namespace lldb_private
105 #endif // liblldb_OptionValueFileSpecList_h_