NGen
Loading...
Searching...
No Matches
geojson::Object Struct Reference

Struct wrapping a nested PropertyMap representing a JSON object. More...

#include <JSONProperty.hpp>

+ Collaboration diagram for geojson::Object:

Public Member Functions

 Object (PropertyMap *values)
 Construct a new Object and set its values pointer to values.
 
bool operator== (const Object &other) const
 Equality operator.
 

Private Attributes

PropertyMapvalues
 

Friends

std::ostream & operator<< (std::ostream &os, const Object &obj)
 A stream overload to represent this type as an Object.
 

Detailed Description

Struct wrapping a nested PropertyMap representing a JSON object.

Constructor & Destructor Documentation

◆ Object()

geojson::Object::Object ( PropertyMap * values)
inline

Construct a new Object and set its values pointer to values.

Parameters
values

Member Function Documentation

◆ operator==()

bool geojson::Object::operator== ( const Object & other) const
inline

Equality operator.

Parameters
otherObject to check equality against
Returns
true If the backing storage pointers are the same.
false If the other JSONProperty isn't pointing the same data as this JSONProperty

References values.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
const Object & obj )
friend

A stream overload to represent this type as an Object.

Parameters
os
obj
Returns
std::ostream&

Member Data Documentation

◆ values

PropertyMap* geojson::Object::values
private

Referenced by operator==().


The documentation for this struct was generated from the following file: