示例#1
0
    void writeObjectTag (std::string const& tag)
    {
#ifndef NDEBUG
        // Make sure we haven't already seen this tag.
        auto& tags = stack_.top ().tags;
        check (tags.find (tag) == tags.end (), "Already seen tag " + tag);
        tags.insert (tag);
#endif

        stringOutput (tag);
        output_ ({&colon, 1});
    }
示例#2
0
文件: Object.cpp 项目: ripple/rippled
WriterObject stringWriterObject (std::string& s)
{
    return WriterObject (stringOutput (s));
}
示例#3
0
文件: Log.hpp 项目: JonnyPtn/xygine
 static const std::string& bufferString(){ return stringOutput(); }