MCPcopy Create free account
hub / github.com/amule-project/amule / GetStringDataSTL

Method GetStringDataSTL

src/libs/ec/cpp/ECTag.cpp:662–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

660
661
662std::string CECTag::GetStringDataSTL() const
663{
664 if (m_dataType != EC_TAGTYPE_STRING) {
665 EC_ASSERT(m_dataType == EC_TAGTYPE_UNKNOWN);
666 return std::string();
667 } else if (m_tagData == NULL) {
668 EC_ASSERT(false);
669 return std::string();
670 }
671
672 return std::string(m_tagData);
673}
674
675
676#ifdef USE_WX_EXTENSIONS

Callers 1

AssignIfExistMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected