Search Toolkit Book for CSimpleMakeFileContents
CSimpleMakeFileContents –. More...
#include "file_contents.hpp"
(Private to src/build-system/project_tree_builder
.)
Abstraction of makefile contents.
Container for key/values pairs with included makefiles parsing support.
Definition at line 73 of file file_contents.hpp.
◆ TContents ◆ EHowToCollect Enumerator eAsIs eSortUnique eMergePlusMinus eFirstNonemptyDefinition at line 104 of file file_contents.hpp.
◆ CSimpleMakeFileContents() [1/4] CSimpleMakeFileContents::CSimpleMakeFileContents ( void )Definition at line 52 of file file_contents.cpp.
◆ CSimpleMakeFileContents() [2/4] ◆ CSimpleMakeFileContents() [3/4] ◆ CSimpleMakeFileContents() [4/4] CSimpleMakeFileContents::CSimpleMakeFileContents ( const string & file_path ) ◆ ~CSimpleMakeFileContents() CSimpleMakeFileContents::~CSimpleMakeFileContents ( void )Definition at line 93 of file file_contents.cpp.
◆ AddDefinition()Definition at line 142 of file file_contents.cpp.
References AddReadyKV(), ncbi::grid::netcache::search::fields::key, SKeyValue::m_Key, SKeyValue::m_Value, and rapidjson::value.
Referenced by CSymResolver::AddDefinition(), CProjBulderApp::ConfirmConfiguration(), CProjBulderApp::Gui_ConfirmConfiguration(), CProjBulderApp::Gui_ConfirmProjects(), CMsvcSite::IsProvided(), CProjBulderApp::ParseArguments(), and UpdateData().
◆ AddReadyKV()Definition at line 476 of file file_contents.cpp.
References map_checker< Container >::clear(), FilterDefine(), NStr::FindCase(), first(), NStr::fSplit_MergeDelimiters, NStr::fSplit_Truncate, CSymResolver::IsDefine(), ITERATE, LIST_SEPARATOR, LIST_SEPARATOR_LIBS, SKeyValue::m_Append, m_Contents, SKeyValue::m_Key, SKeyValue::m_Value, m_ValueSeparator, NON_CONST_ITERATE, NPOS, NStr::Split(), NStr::SplitInTwo(), NStr::StartsWith(), CSymResolver::StripDefine(), t, tmp, and rapidjson::value.
Referenced by AddDefinition().
◆ Clear() void CSimpleMakeFileContents::Clear ( void ) ◆ CollectValues()Definition at line 243 of file file_contents.cpp.
References CollectValues(), copy(), eAsIs, eFirstNonempty, eMergePlusMinus, map_checker< Container >::end(), eSortUnique, map_checker< Container >::find(), i, ncbi::grid::netcache::search::fields::key, m_Contents, m_Parent, and plus().
Referenced by CollectValues(), and SAppProjectT::DoCreate().
◆ DoesValueContain() ◆ Dump() ◆ GetFileName() const string& CSimpleMakeFileContents::GetFileName ( void ) const inline ◆ GetMakeType() EMakeFileType CSimpleMakeFileContents::GetMakeType ( void ) const inline ◆ GetPathValue() ◆ GetValue() [1/2] ◆ GetValue() [2/2]Definition at line 196 of file file_contents.cpp.
References done, map_checker< Container >::end(), ePTB_MacroInvalid, map_checker< Container >::find(), i, CSymResolver::IsDefine(), kEmptyStr, ncbi::grid::netcache::search::fields::key, m_Contents, m_Filename, m_Raw, PTB_WARNING_EX, NStr::Replace(), CSymResolver::StripDefine(), and rapidjson::value.
Referenced by GetPathValue(), CSymResolver::GetValue(), CProjBulderApp::Gui_ConfirmConfiguration(), CMsvcSite::IsProvided(), CProjBulderApp::ParseArguments(), CMsvcSite::ResolveDefine(), s_AnalyzeLibraryOrder(), UpdateData(), and CProjBulderApp::UpdateDepGraph().
◆ HasDefinition() ◆ IsEmpty() bool CSimpleMakeFileContents::IsEmpty ( void ) const inline ◆ LoadFrom()Definition at line 119 of file file_contents.cpp.
References CSimpleMakeFileContents::SParser::AcceptLine(), Clear(), CSimpleMakeFileContents::SParser::EndParse(), in(), LIST_SEPARATOR, m_Filename, m_ValueSeparator, NCBI_THROW, NcbiGetlineEOL(), and CSimpleMakeFileContents::SParser::StartParse().
Referenced by CMsvcSite::CMsvcSite(), CSimpleMakeFileContents(), CSymResolver::LoadFrom(), and CProjBulderApp::ParseArguments().
◆ operator=() ◆ RemoveDefinition() void CSimpleMakeFileContents::RemoveDefinition ( const string & key ) ◆ Save() void CSimpleMakeFileContents::Save ( const string & filename ) const ◆ SetFrom() ◆ SetParent() ◆ SetValueSeparator() void CSimpleMakeFileContents::SetValueSeparator ( const string & sep ) inline ◆ SParser ◆ m_Contents TContents CSimpleMakeFileContents::m_ContentsDefinition at line 89 of file file_contents.hpp.
Referenced by AddReadyKV(), SMakeProjectT::AnalyzeMakeIn(), CSymResolver::Append(), Clear(), CSymResolver::Clear(), CollectValues(), SAppProjectT::CreateNcbiCToolkitLibs(), SAsnProjectMultipleT::DoCreate(), SAppProjectT::DoCreate(), SLibProjectT::DoCreate(), DoesValueContain(), Dump(), SAsnProjectT::GetAsnProjectType(), GetValue(), HasDefinition(), IsEmpty(), CSymResolver::IsEmpty(), CDataToolGeneratedSrc::LoadFrom(), CProjectTreeBuilder::ProcessDir(), CProjectTreeBuilder::ProcessMakeAppFile(), CProjectTreeBuilder::ProcessMakeDllFile(), CProjectTreeBuilder::ProcessMakeInFile(), CProjectTreeBuilder::ProcessMakeLibFile(), CProjectTreeBuilder::ProcessUserProjFile(), RemoveDefinition(), CSymResolver::Resolve(), s_AddProjItemToDll(), and SetFrom().
◆ m_Filename string CSimpleMakeFileContents::m_Filename private ◆ m_Parent ◆ m_Raw bool CSimpleMakeFileContents::m_Raw private ◆ m_Type ◆ m_ValueSeparator string CSimpleMakeFileContents::m_ValueSeparator privateThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4