SSS - S3 Toolkit 0.9.6
S3 client library and applications
Loading...
Searching...
No Matches
Types

Typedefs

using sss::Map = std::map< std::string, std::string >
 Base type for all dictionary types.
 
using sss::Headers = Map
 HTTP headers.
 
using sss::Parameters = Map
 URL parameters: key1=value1&key2=value2...
 
using sss::MetaDataMap = Map
 Metadata map: key->value => xmz-meta-key:value.
 
using sss::api::TagMap = std::unordered_map< std::string, std::string >
 {name, value} map representing bucket or object tags.
 
using sss::CharArray = std::vector< char >
 char array wrapping char* buffers used by libcurl
 
using sss::StringArray = std::vector< std::string >
 array of std::string objects
 
using sss::ETag = std::string
 ETag returned by upload requests.
 
using sss::UploadId = std::string
 multiplart upload id returned when starting a multipart uplaod operation
 
using sss::Bytes = std::vector< uint8_t >
 
using XMLRecords = std::vector< XMLRecord >
 
using XMLResult = std::variant< bool, std::string, std::vector< std::string >, XMLRecords >
 

Detailed Description

Representaion of an XML tree as {path to text element, text element} tuples stored into map object. E.g.

<tag1>
<tag1_1>
text 1 1
</tat1_1>
<tag1_2>
text 1 2
</tag1_2>
</tag1>

is represented as

unordered_map<string, string> rec {
{"/tag1/tag1_1", "text 1 1"},
{"/tag1/tag1_2", "text 1 2"}
};

Typedef Documentation

◆ Bytes

typedef vector< uint8_t > sss::Bytes

Unsigned byte array

◆ Map

using sss::Map = typedef std::map<std::string, std::string>

Base type for all dictionary types.

◆ MetaDataMap

typedef std::map< std::string, std::string > sss::MetaDataMap

Metadata map: key->value => xmz-meta-key:value.

{meta data header, meta data value}

◆ XMLRecords

using XMLRecords = std::vector<XMLRecord>

Array of XML records

See also
XMLRecord

◆ XMLResult

using XMLResult = std::variant<bool, std::string, std::vector<std::string>, XMLRecords>

Result of an XML query operation

  • Path to text element: return std::string
  • Path to array of text elements: return std::vector<std::string>
  • Path to array of XML subtrees: std::vector<std::unordered_map<std::string, std::string>>
  • false in case element not found, used internally to signal "not found" condition
See also
XMLRecords