#include <GraphDataManager.h>
Definition at line 58 of file GraphDataManager.h.
 
◆ GraphDataManager()
◆ ~GraphDataManager()
  
  
      
        
          | virtual te::graph::GraphDataManager::~GraphDataManager  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ getLoaderStrategy()
Function used to get the current loader strategy. 
- Returns
 - A valid pointer to a loader strategy if exist and a null pointer in other case 
 
 
 
◆ loadGraphDataByEdgeId()
Load a set of edges elements that includes the desired element. 
- Parameters
 - 
  
    | edgeId | The edge identifier of the desired element. | 
    | gc | A Graph Cache used to verify if the element already in memory  | 
  
   
 
 
◆ loadGraphDataByVertexId()
      
        
          | void te::graph::GraphDataManager::loadGraphDataByVertexId  | 
          ( | 
          int  | 
          vertexId,  | 
        
        
           | 
           | 
          te::graph::GraphCache *  | 
          gc = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Load a set of vertex elements that includes the desired element. 
- Parameters
 - 
  
    | vertexId | The vertex identifier of the desired element. | 
    | gc | A Graph Cache used to verify if the element already in memory  | 
  
   
 
 
◆ removeEdge()
      
        
          | void te::graph::GraphDataManager::removeEdge  | 
          ( | 
          int  | 
          id | ) | 
           | 
        
      
 
Function used to remove a edge from data source. 
- Parameters
 - 
  
  
 
 
 
◆ removeVertex()
      
        
          | void te::graph::GraphDataManager::removeVertex  | 
          ( | 
          int  | 
          id | ) | 
           | 
        
      
 
Function used to remove a vertex from data source. 
- Parameters
 - 
  
  
 
 
 
◆ saveGraphData()
      
        
          | void te::graph::GraphDataManager::saveGraphData  | 
          ( | 
          GraphData *  | 
          data | ) | 
           | 
        
      
 
Save the graph data structure in Data Source. 
- Parameters
 - 
  
    | data | A graph data with a group of vertex and edge elements | 
  
   
- Note
 - Only the elements with a flag new with true value will be saved and the elements with the flag dirty with true value will be updated the other elements will be ignored 
 
 
 
◆ setLoaderStrategy()
Function used to set a current loader strategy. 
- Parameters
 - 
  
    | loaderStrategy | A pointer to loader strategy implementation  | 
  
   
 
 
◆ m_graph
◆ m_loadStrategy
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/graph/core/GraphDataManager.h