#include <pointabilities.h>
 Collaboration diagram for Pointabilities:Public Member Functions | |
| std::optional< PointabilityType > | matchNode (const std::string &name, const ItemGroupList &groups) const | 
| std::optional< PointabilityType > | matchObject (const std::string &name, const ItemGroupList &groups) const | 
| std::optional< PointabilityType > | matchPlayer (const ItemGroupList &groups) const | 
| void | serialize (std::ostream &os) const | 
| void | deSerialize (std::istream &is) | 
Static Public Member Functions | |
| static PointabilityType | deSerializePointabilityType (std::istream &is) | 
| static void | serializePointabilityType (std::ostream &os, PointabilityType pointable_type) | 
| static std::string | toStringPointabilityType (PointabilityType pointable_type) | 
Public Attributes | |
| std::unordered_map< std::string, PointabilityType > | nodes | 
| std::unordered_map< std::string, PointabilityType > | node_groups | 
| std::unordered_map< std::string, PointabilityType > | objects | 
| std::unordered_map< std::string, PointabilityType > | object_groups | 
Static Private Member Functions | |
| static std::optional< PointabilityType > | matchGroups (const ItemGroupList &groups, const std::unordered_map< std::string, PointabilityType > &pointable_groups) | 
| static void | serializeTypeMap (std::ostream &os, const std::unordered_map< std::string, PointabilityType > &map) | 
| static void | deSerializeTypeMap (std::istream &is, std::unordered_map< std::string, PointabilityType > &map) | 
| void Pointabilities::deSerialize | ( | std::istream & | is | ) | 
References deSerializeTypeMap(), node_groups, nodes, object_groups, objects, and readU8().
 Here is the call graph for this function:
      
  | 
  static | 
References POINTABLE, POINTABLE_BLOCKING, POINTABLE_NOT, and readU8().
Referenced by ContentFeatures::deSerialize(), ObjectProperties::deSerialize(), and deSerializeTypeMap().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  staticprivate | 
References deSerializePointabilityType(), deSerializeString16(), and readU32().
Referenced by deSerialize().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  staticprivate | 
References itemgroup_get(), POINTABLE, POINTABLE_BLOCKING, and POINTABLE_NOT.
Referenced by matchNode(), matchObject(), and matchPlayer().
 Here is the call graph for this function:
 Here is the caller graph for this function:| std::optional< PointabilityType > Pointabilities::matchNode | ( | const std::string & | name, | 
| const ItemGroupList & | groups ) const | 
| std::optional< PointabilityType > Pointabilities::matchObject | ( | const std::string & | name, | 
| const ItemGroupList & | groups ) const | 
| std::optional< PointabilityType > Pointabilities::matchPlayer | ( | const ItemGroupList & | groups | ) | const | 
| void Pointabilities::serialize | ( | std::ostream & | os | ) | const | 
References node_groups, nodes, object_groups, objects, serializeTypeMap(), and writeU8().
 Here is the call graph for this function:
      
  | 
  static | 
References writeU8().
Referenced by ContentFeatures::serialize(), and ObjectProperties::serialize().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  staticprivate | 
References serializeString16(), writeU32(), and writeU8().
Referenced by serialize().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
References POINTABLE, POINTABLE_BLOCKING, and POINTABLE_NOT.
Referenced by ObjectProperties::dump().
 Here is the caller graph for this function:| std::unordered_map<std::string, PointabilityType> Pointabilities::node_groups | 
Referenced by deSerialize(), matchNode(), push_pointabilities(), read_pointabilities(), and serialize().
| std::unordered_map<std::string, PointabilityType> Pointabilities::nodes | 
Referenced by deSerialize(), matchNode(), push_pointabilities(), read_pointabilities(), and serialize().
| std::unordered_map<std::string, PointabilityType> Pointabilities::object_groups | 
Referenced by deSerialize(), matchObject(), matchPlayer(), push_pointabilities(), read_pointabilities(), and serialize().
| std::unordered_map<std::string, PointabilityType> Pointabilities::objects | 
Referenced by deSerialize(), matchObject(), push_pointabilities(), read_pointabilities(), and serialize().