top | up | prev | next

SourceFileInfo Struct

Definition at line 9 of MessageBody.hpp

Constructors

SourceFileInfo()
SourceFileInfo(JsonValue* value)

Member Functions

std::unique_ptr<JsonValue> ToJson() const

Member Variables

std::string content
std::string fileHash
std::string fileId
std::string filePath
std::string info

Constructor Details

SourceFileInfo Constructor

SourceFileInfo::SourceFileInfo()

Definition at line 6 of MessageBody.cpp :
  6 : fileId()fileHash()filePath()content()info()
  7 {
  8 }


Declaration at line 11 of MessageBody.hpp


SourceFileInfo Constructor

SourceFileInfo::SourceFileInfo(JsonValue * value)

Definition at line 26 of MessageBody.cpp :
 27 {
 28     sngjson::json::FromJson(value"fileId"fileId);
 29     sngjson::json::FromJson(value"fileHash"fileHash);
 30     sngjson::json::FromJson(value"filePath"filePath);
 31     sngjson::json::FromJson(value"content"content);
 32     sngjson::json::FromJson(value"info"info);
 33 }


Declaration at line 12 of MessageBody.hpp


Member Function Details

ToJson Member Function

std::unique_ptr<JsonValue > SourceFileInfo::ToJson() const

Definition at line 10 of MessageBody.cpp
Declaration at line 13 of MessageBody.hpp


top | up | prev | next