GraphTool  1.0
Tool for analyzing and graphically visualizing code dependencies for Ericsson.
 All Classes Namespaces Functions Variables Typedefs Enumerations Pages
Public Types | Public Member Functions | List of all members
FilterParser Class Reference

Public Types

typedef SWUGraphBuilder::GraphType GraphType
 

Public Member Functions

 FilterParser (Linkler &l, GraphProperties< GraphType > &properties, LinklerDiff *ldiff)
 
GraphFilterList< GraphType > * read_filters (const std::string &file_url)
 
bool write_filters (const std::string &file_url, GraphFilterList< GraphType > &filters)
 

Member Function Documentation

GraphFilterList< GraphType > * FilterParser::read_filters ( const std::string &  file_url)

Gets the pointer to the first filter in the filter chain from a file

Parameters
[in]file_urlThe file URL
Returns
The pointer to a GraphFilterList or NULL in case it doesn't work.
bool FilterParser::write_filters ( const std::string &  file_url,
GraphFilterList< GraphType > &  filters 
)

Saves the whole filter chain to a file

Parameters
[in]file_urlThe file URL
[in]filtersThe pointer to the first filter in the filter chain
Returns
True if successfully saved to disk, false otherwise

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