예제 #1
0
    void addStrings (std::string const& name, std::vector <std::string> const& strings)
    {
        if (strings.empty ())
        {
            m_journal.debug << "Static source '" << name << "' is empty.";
            return;
        }

        addStaticSource (SourceStrings::New (name, strings));
    }
예제 #2
0
파일: Manager.cpp 프로젝트: 12w21/rippled
 void addStrings (String name, StringArray const& stringArray)
 {
     if (stringArray.size() > 0)
     {
         addStaticSource (SourceStrings::New (name, stringArray));
     }
     else
     {
         m_journal.debug << "Static source '" << name << "' is empty.";
     }
 }
예제 #3
0
 void addFile (beast::File const& file)
 {
     addStaticSource (SourceFile::New (file));
 }