Files
rippled/src/cpp/ripple/ParseSection.h
2013-06-20 14:30:52 -07:00

20 lines
803 B
C++

//------------------------------------------------------------------------------
/*
Copyright (c) 2011-2013, OpenCoin, Inc.
*/
//==============================================================================
#ifndef _PARSE_SECTION_
#define _PARSE_SECTION_
typedef std::map<const std::string, std::vector<std::string> > Section;
Section ParseSection (const std::string& strInput, const bool bTrim);
void SectionPrint (Section secInput);
void SectionEntriesPrint (std::vector<std::string>* vspEntries, const std::string& strSection);
bool SectionSingleB (Section& secSource, const std::string& strSection, std::string& strValue);
int SectionCount (Section& secSource, const std::string& strSection);
Section::mapped_type* SectionEntries (Section& secSource, const std::string& strSection);
#endif