WSF
WsfParseSourceProvider.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11// ****************************************************************************
12// Updated by Infoscitex, a DCS Company.
13// ****************************************************************************
14
15#ifndef WsfParseSourceProvider_HPP
16#define WsfParseSourceProvider_HPP
17#include "wsf_parser_export.h"
18
19#include "UtPath.hpp"
20class UtTextDocument;
21
23class WSF_PARSER_EXPORT WsfParseSourceProvider
24{
25public:
29 virtual UtTextDocument* FindSource(const UtPath& aPath, bool aReadAccess) = 0;
30
31 virtual UtTextDocument* CreateSource(const UtPath& aPath) { return nullptr; }
32};
33#endif
Interface providing source files to the WsfParser.
Definition WsfParseSourceProvider.hpp:24
virtual UtTextDocument * FindSource(const UtPath &aPath, bool aReadAccess)=0
virtual UtTextDocument * CreateSource(const UtPath &aPath)
Definition WsfParseSourceProvider.hpp:31
virtual ~WsfParseSourceProvider()
Definition WsfParseSourceProvider.hpp:26
Copyrights Multiple, All Rights Reserved