Functions
contrib/brl/bbas/bxml/bxml_find.cxx File Reference
#include "bxml_find.h"

Go to the source code of this file.

Functions

bool bxml_matches (const bxml_element &elm, const bxml_element &query)
 Return true if elm has the same name and contains the same attributes as query.
bxml_data_sptr bxml_find (const bxml_data_sptr &head, const bxml_element &query)
 Find the first element that matches.
bool bxml_matches_by_name (const bxml_element &elm, const bxml_element &query)
 Return true if elm has the same name and contains the same attributes as query.
bxml_data_sptr bxml_find_by_name (const bxml_data_sptr &head, const bxml_element &query)
 Find the first element that matches.
vcl_vector< bxml_data_sptrbxml_find_all_with_name (const bxml_data_sptr &head, const bxml_element &query)
 Find all elements that match.

Detailed Description

Author:
Matt Leotta
Date:
November 30, 2006

Definition in file bxml_find.cxx.


Function Documentation

bxml_data_sptr bxml_find ( const bxml_data_sptr head,
const bxml_element query 
)

Find the first element that matches.

Definition at line 33 of file bxml_find.cxx.

vcl_vector<bxml_data_sptr> bxml_find_all_with_name ( const bxml_data_sptr head,
const bxml_element query 
)

Find all elements that match.

Find all elements that match the query only by name.

Definition at line 87 of file bxml_find.cxx.

bxml_data_sptr bxml_find_by_name ( const bxml_data_sptr head,
const bxml_element query 
)

Find the first element that matches.

Find the first element that matches the query only by name.

Definition at line 65 of file bxml_find.cxx.

bool bxml_matches ( const bxml_element elm,
const bxml_element query 
)

Return true if elm has the same name and contains the same attributes as query.

Return true if elm has the same name and contains the same attributes as query.

Definition at line 14 of file bxml_find.cxx.

bool bxml_matches_by_name ( const bxml_element elm,
const bxml_element query 
)

Return true if elm has the same name and contains the same attributes as query.

Definition at line 55 of file bxml_find.cxx.