OpenCPN Partial API docs
Loading...
Searching...
No Matches
NavObjectCollection1 Class Reference
Inheritance diagram for NavObjectCollection1:
pugi::xml_document pugi::xml_node

Public Member Functions

bool CreateNavObjGPXPoints (void)
bool CreateNavObjGPXRoutes (void)
bool CreateNavObjGPXTracks (void)
void AddGPXRoutesList (RouteList *pRoutes)
void AddGPXTracksList (std::vector< Track * > *pTracks)
bool AddGPXPointsList (RoutePointList *pRoutePoints)
bool AddGPXRoute (Route *pRoute)
bool AddGPXTrack (Track *pTrk)
bool AddGPXWaypoint (RoutePoint *pWP)
bool CreateAllGPXObjects ()
bool LoadAllGPXObjects (bool b_full_viz, int &wpt_duplicates, bool b_compute_bbox=false)
int LoadAllGPXObjectsAsLayer (int layer_id, bool b_layerviz, wxCheckBoxState b_namesviz)
bool LoadAllGPXTrackObjects ()
bool LoadAllGPXRouteObjects ()
bool LoadAllGPXPointObjects ()
bool SaveFile (const wxString filename)
void SetRootGPXNode (void)
bool IsOpenCPN ()
LLBBox & GetBBox ()
Public Member Functions inherited from pugi::xml_document
void reset ()
void reset (const xml_document &proto)
xml_parse_result load (std::basic_istream< char, std::char_traits< char > > &stream, unsigned int options=parse_default, xml_encoding encoding=encoding_auto)
xml_parse_result load (std::basic_istream< wchar_t, std::char_traits< wchar_t > > &stream, unsigned int options=parse_default)
xml_parse_result load (const char_t *contents, unsigned int options=parse_default)
xml_parse_result load_string (const char_t *contents, unsigned int options=parse_default)
xml_parse_result load_file (const char *path, unsigned int options=parse_default, xml_encoding encoding=encoding_auto)
xml_parse_result load_file (const wchar_t *path, unsigned int options=parse_default, xml_encoding encoding=encoding_auto)
xml_parse_result load_buffer (const void *contents, size_t size, unsigned int options=parse_default, xml_encoding encoding=encoding_auto)
xml_parse_result load_buffer_inplace (void *contents, size_t size, unsigned int options=parse_default, xml_encoding encoding=encoding_auto)
xml_parse_result load_buffer_inplace_own (void *contents, size_t size, unsigned int options=parse_default, xml_encoding encoding=encoding_auto)
void save (xml_writer &writer, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, xml_encoding encoding=encoding_auto) const
void save (std::basic_ostream< char, std::char_traits< char > > &stream, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, xml_encoding encoding=encoding_auto) const
void save (std::basic_ostream< wchar_t, std::char_traits< wchar_t > > &stream, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default) const
bool save_file (const char *path, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, xml_encoding encoding=encoding_auto) const
bool save_file (const wchar_t *path, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, xml_encoding encoding=encoding_auto) const
xml_node document_element () const
Public Member Functions inherited from pugi::xml_node
 xml_node (xml_node_struct *p)
 operator unspecified_bool_type () const
bool operator! () const
bool operator== (const xml_node &r) const
bool operator!= (const xml_node &r) const
bool operator< (const xml_node &r) const
bool operator> (const xml_node &r) const
bool operator<= (const xml_node &r) const
bool operator>= (const xml_node &r) const
bool empty () const
xml_node_type type () const
const char_t * name () const
const char_t * value () const
xml_attribute first_attribute () const
xml_attribute last_attribute () const
xml_node first_child () const
xml_node last_child () const
xml_node next_sibling () const
xml_node previous_sibling () const
xml_node parent () const
xml_node root () const
xml_text text () const
xml_node child (const char_t *name) const
xml_attribute attribute (const char_t *name) const
xml_node next_sibling (const char_t *name) const
xml_node previous_sibling (const char_t *name) const
xml_attribute attribute (const char_t *name, xml_attribute &hint) const
const char_t * child_value () const
const char_t * child_value (const char_t *name) const
bool set_name (const char_t *rhs)
bool set_value (const char_t *rhs)
xml_attribute append_attribute (const char_t *name)
xml_attribute prepend_attribute (const char_t *name)
xml_attribute insert_attribute_after (const char_t *name, const xml_attribute &attr)
xml_attribute insert_attribute_before (const char_t *name, const xml_attribute &attr)
xml_attribute append_copy (const xml_attribute &proto)
xml_attribute prepend_copy (const xml_attribute &proto)
xml_attribute insert_copy_after (const xml_attribute &proto, const xml_attribute &attr)
xml_attribute insert_copy_before (const xml_attribute &proto, const xml_attribute &attr)
xml_node append_child (xml_node_type type=node_element)
xml_node prepend_child (xml_node_type type=node_element)
xml_node insert_child_after (xml_node_type type, const xml_node &node)
xml_node insert_child_before (xml_node_type type, const xml_node &node)
xml_node append_child (const char_t *name)
xml_node prepend_child (const char_t *name)
xml_node insert_child_after (const char_t *name, const xml_node &node)
xml_node insert_child_before (const char_t *name, const xml_node &node)
xml_node append_copy (const xml_node &proto)
xml_node prepend_copy (const xml_node &proto)
xml_node insert_copy_after (const xml_node &proto, const xml_node &node)
xml_node insert_copy_before (const xml_node &proto, const xml_node &node)
xml_node append_move (const xml_node &moved)
xml_node prepend_move (const xml_node &moved)
xml_node insert_move_after (const xml_node &moved, const xml_node &node)
xml_node insert_move_before (const xml_node &moved, const xml_node &node)
bool remove_attribute (const xml_attribute &a)
bool remove_attribute (const char_t *name)
bool remove_child (const xml_node &n)
bool remove_child (const char_t *name)
xml_parse_result append_buffer (const void *contents, size_t size, unsigned int options=parse_default, xml_encoding encoding=encoding_auto)
template<typename Predicate>
xml_attribute find_attribute (Predicate pred) const
template<typename Predicate>
xml_node find_child (Predicate pred) const
template<typename Predicate>
xml_node find_node (Predicate pred) const
xml_node find_child_by_attribute (const char_t *name, const char_t *attr_name, const char_t *attr_value) const
xml_node find_child_by_attribute (const char_t *attr_name, const char_t *attr_value) const
string_t path (char_t delimiter='/') const
xml_node first_element_by_path (const char_t *path, char_t delimiter='/') const
bool traverse (xml_tree_walker &walker)
xpath_node select_node (const char_t *query, xpath_variable_set *variables=0) const
xpath_node select_node (const xpath_query &query) const
xpath_node_set select_nodes (const char_t *query, xpath_variable_set *variables=0) const
xpath_node_set select_nodes (const xpath_query &query) const
xpath_node select_single_node (const char_t *query, xpath_variable_set *variables=0) const
xpath_node select_single_node (const xpath_query &query) const
void print (xml_writer &writer, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, xml_encoding encoding=encoding_auto, unsigned int depth=0) const
void print (std::basic_ostream< char, std::char_traits< char > > &os, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, xml_encoding encoding=encoding_auto, unsigned int depth=0) const
void print (std::basic_ostream< wchar_t, std::char_traits< wchar_t > > &os, const char_t *indent=PUGIXML_TEXT("\t"), unsigned int flags=format_default, unsigned int depth=0) const
iterator begin () const
iterator end () const
attribute_iterator attributes_begin () const
attribute_iterator attributes_end () const
xml_object_range< xml_node_iterator > children () const
xml_object_range< xml_named_node_iterator > children (const char_t *name) const
xml_object_range< xml_attribute_iterator > attributes () const
ptrdiff_t offset_debug () const
size_t hash_value () const
xml_node_struct * internal_object () const

Public Attributes

LLBBox BBox

Additional Inherited Members

Public Types inherited from pugi::xml_node
typedef xml_node_iterator iterator
typedef xml_attribute_iterator attribute_iterator
Protected Types inherited from pugi::xml_node
typedef void(* unspecified_bool_type) (xml_node ***)
Protected Attributes inherited from pugi::xml_node
xml_node_struct * _root

Detailed Description

Definition at line 108 of file nav_object_database.h.

Constructor & Destructor Documentation

◆ NavObjectCollection1()

NavObjectCollection1::NavObjectCollection1 ( )

Definition at line 32 of file nav_object_database.cpp.

◆ ~NavObjectCollection1()

NavObjectCollection1::~NavObjectCollection1 ( )
virtual

Definition at line 34 of file nav_object_database.cpp.

Member Function Documentation

◆ AddGPXPointsList()

bool NavObjectCollection1::AddGPXPointsList ( RoutePointList * pRoutePoints)

Definition at line 1347 of file nav_object_database.cpp.

◆ AddGPXRoute()

bool NavObjectCollection1::AddGPXRoute ( Route * pRoute)

Definition at line 1301 of file nav_object_database.cpp.

◆ AddGPXRoutesList()

void NavObjectCollection1::AddGPXRoutesList ( RouteList * pRoutes)

Definition at line 1331 of file nav_object_database.cpp.

◆ AddGPXTrack()

bool NavObjectCollection1::AddGPXTrack ( Track * pTrk)

Definition at line 1311 of file nav_object_database.cpp.

◆ AddGPXTracksList()

void NavObjectCollection1::AddGPXTracksList ( std::vector< Track * > * pTracks)

Definition at line 1339 of file nav_object_database.cpp.

◆ AddGPXWaypoint()

bool NavObjectCollection1::AddGPXWaypoint ( RoutePoint * pWP)

Definition at line 1321 of file nav_object_database.cpp.

◆ CreateAllGPXObjects()

bool NavObjectCollection1::CreateAllGPXObjects ( )

Definition at line 1291 of file nav_object_database.cpp.

◆ CreateNavObjGPXPoints()

bool NavObjectCollection1::CreateNavObjGPXPoints ( void )

Definition at line 1238 of file nav_object_database.cpp.

◆ CreateNavObjGPXRoutes()

bool NavObjectCollection1::CreateNavObjGPXRoutes ( void )

Definition at line 1258 of file nav_object_database.cpp.

◆ CreateNavObjGPXTracks()

bool NavObjectCollection1::CreateNavObjGPXTracks ( void )

Definition at line 1274 of file nav_object_database.cpp.

◆ GetBBox()

LLBBox & NavObjectCollection1::GetBBox ( )
inline

Definition at line 137 of file nav_object_database.h.

◆ IsOpenCPN()

bool NavObjectCollection1::IsOpenCPN ( )

Definition at line 1376 of file nav_object_database.cpp.

◆ LoadAllGPXObjects()

bool NavObjectCollection1::LoadAllGPXObjects ( bool b_full_viz,
int & wpt_duplicates,
bool b_compute_bbox = false )

Definition at line 1394 of file nav_object_database.cpp.

◆ LoadAllGPXObjectsAsLayer()

int NavObjectCollection1::LoadAllGPXObjectsAsLayer ( int layer_id,
bool b_layerviz,
wxCheckBoxState b_namesviz )

Definition at line 1473 of file nav_object_database.cpp.

◆ LoadAllGPXPointObjects()

bool NavObjectCollection1::LoadAllGPXPointObjects ( )

Definition at line 1540 of file nav_object_database.cpp.

◆ LoadAllGPXRouteObjects()

bool NavObjectCollection1::LoadAllGPXRouteObjects ( )

Definition at line 1526 of file nav_object_database.cpp.

◆ LoadAllGPXTrackObjects()

bool NavObjectCollection1::LoadAllGPXTrackObjects ( )

Definition at line 1512 of file nav_object_database.cpp.

◆ SaveFile()

bool NavObjectCollection1::SaveFile ( const wxString filename)

Definition at line 1384 of file nav_object_database.cpp.

◆ SetRootGPXNode()

void NavObjectCollection1::SetRootGPXNode ( void )

Definition at line 1357 of file nav_object_database.cpp.

Member Data Documentation

◆ BBox

LLBBox NavObjectCollection1::BBox

Definition at line 139 of file nav_object_database.h.


The documentation for this class was generated from the following files: