#include <classimport.h>
|  | 
| virtual void | initialize ()=0 | 
| virtual void | initPerFile () | 
| virtual bool | parseFile (const QString &fileName)=0 | 
| void | log (const QString &file, const QString &text) | 
| void | log (const QString &text) | 
Interfaces classparser library to uml models Abstract base for programming language specific import classes 
- Author
- Mikko Pasanen 
- 
Oliver Kellogg Bugs and comments to umbre.nosp@m.llo-.nosp@m.devel.nosp@m.@kde.nosp@m..org or https://bugs.kde.org 
◆ ClassImport()
◆ ~ClassImport()
  
  | 
        
          | ClassImport::~ClassImport | ( |  | ) |  |  | virtual | 
 
 
◆ createImporterByFileExt()
Factory method for creating a ClassImport concretization by file extension 
- Parameters
- 
  
    | fileName | name of imported file |  | thread | pointer to CodeImpThread within which the importer runs |  
 
- Returns
- the class import object 
 
 
◆ enabled()
  
  | 
        
          | bool ClassImport::enabled | ( |  | ) | const |  | inline | 
 
Return state of the importer. It may be disabled because of missing dependencies for example. 
- Returns
- false - disabled, true - enabled 
 
 
◆ importFile()
      
        
          | bool ClassImport::importFile | ( | const QString & | fileName | ) |  | 
      
 
Import a single file. 
- Parameters
- 
  
    | fileName | The file to import. |  
 
 
 
◆ importFiles()
      
        
          | bool ClassImport::importFiles | ( | const QStringList & | fileNames | ) |  | 
      
 
Import files. 
- Parameters
- 
  
    | fileNames | List of files to import. |  
 
 
 
◆ initialize()
  
  | 
        
          | virtual void ClassImport::initialize | ( |  | ) |  |  | protectedpure virtual | 
 
 
◆ initPerFile()
  
  | 
        
          | void ClassImport::initPerFile | ( |  | ) |  |  | protectedvirtual | 
 
 
◆ log() [1/2]
  
  | 
        
          | void ClassImport::log | ( | const QString & | file, |  
          |  |  | const QString & | text ) |  | protected | 
 
Write info to a logger or to the debug output. 
- Parameters
- 
  
    | file | the name of the parsed file |  | text | the text to write |  
 
 
 
◆ log() [2/2]
  
  | 
        
          | void ClassImport::log | ( | const QString & | text | ) |  |  | protected | 
 
Write info to a logger or to the debug output. 
- Parameters
- 
  
  
 
 
◆ parseFile()
  
  | 
        
          | virtual bool ClassImport::parseFile | ( | const QString & | fileName | ) |  |  | protectedpure virtual | 
 
 
◆ setRootPath()
      
        
          | void ClassImport::setRootPath | ( | const QString & | path | ) |  | 
      
 
 
◆ m_enabled
  
  | 
        
          | bool ClassImport::m_enabled |  | protected | 
 
 
◆ m_rootPath
  
  | 
        
          | QString ClassImport::m_rootPath |  | protected | 
 
 
◆ m_thread
thread in which the work of importing is done 
 
 
The documentation for this class was generated from the following files: