Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::GraphIO::FileType Struct Reference

#include <ogdf/fileformats/GraphIO.h>

Public Member Functions

 FileType (std::vector< std::string > extensions, ReaderFunc readerFunc=nullptr, WriterFunc writerFunc=nullptr, AttrReaderFunc attrReaderFunc=nullptr, AttrWriterFunc attrWriterFunc=nullptr, ClusterReaderFunc clusterReaderFunc=nullptr, ClusterWriterFunc clusterWriterFunc=nullptr, ClusterAttrReaderFunc clusterAttrReaderFunc=nullptr, ClusterAttrWriterFunc clusterAttrWriterFunc=nullptr)
 
FileTypereplaceAutoReaders (ReaderFunc readerFunc=nullptr, AttrReaderFunc attrReaderFunc=nullptr, ClusterReaderFunc clusterReaderFunc=nullptr, ClusterAttrReaderFunc clusterAttrReaderFunc=nullptr)
 

Public Attributes

AttrReaderFunc attr_reader_func
 
AttrWriterFunc attr_writer_func
 
AttrReaderFunc auto_attr_reader_func
 
ClusterAttrReaderFunc auto_cluster_attr_reader_func
 
ClusterReaderFunc auto_cluster_reader_func
 
ReaderFunc auto_reader_func
 
ClusterAttrReaderFunc cluster_attr_reader_func
 
ClusterAttrWriterFunc cluster_attr_writer_func
 
ClusterReaderFunc cluster_reader_func
 
ClusterWriterFunc cluster_writer_func
 
std::vector< std::string > extensions
 
ReaderFunc reader_func
 
WriterFunc writer_func
 

Detailed Description

Definition at line 79 of file GraphIO.h.

Constructor & Destructor Documentation

◆ FileType()

ogdf::GraphIO::FileType::FileType ( std::vector< std::string >  extensions,
ReaderFunc  readerFunc = nullptr,
WriterFunc  writerFunc = nullptr,
AttrReaderFunc  attrReaderFunc = nullptr,
AttrWriterFunc  attrWriterFunc = nullptr,
ClusterReaderFunc  clusterReaderFunc = nullptr,
ClusterWriterFunc  clusterWriterFunc = nullptr,
ClusterAttrReaderFunc  clusterAttrReaderFunc = nullptr,
ClusterAttrWriterFunc  clusterAttrWriterFunc = nullptr 
)
explicit

Member Function Documentation

◆ replaceAutoReaders()

FileType& ogdf::GraphIO::FileType::replaceAutoReaders ( ReaderFunc  readerFunc = nullptr,
AttrReaderFunc  attrReaderFunc = nullptr,
ClusterReaderFunc  clusterReaderFunc = nullptr,
ClusterAttrReaderFunc  clusterAttrReaderFunc = nullptr 
)

Member Data Documentation

◆ attr_reader_func

AttrReaderFunc ogdf::GraphIO::FileType::attr_reader_func

Definition at line 84 of file GraphIO.h.

◆ attr_writer_func

AttrWriterFunc ogdf::GraphIO::FileType::attr_writer_func

Definition at line 86 of file GraphIO.h.

◆ auto_attr_reader_func

AttrReaderFunc ogdf::GraphIO::FileType::auto_attr_reader_func

Definition at line 85 of file GraphIO.h.

◆ auto_cluster_attr_reader_func

ClusterAttrReaderFunc ogdf::GraphIO::FileType::auto_cluster_attr_reader_func

Definition at line 91 of file GraphIO.h.

◆ auto_cluster_reader_func

ClusterReaderFunc ogdf::GraphIO::FileType::auto_cluster_reader_func

Definition at line 88 of file GraphIO.h.

◆ auto_reader_func

ReaderFunc ogdf::GraphIO::FileType::auto_reader_func

Definition at line 82 of file GraphIO.h.

◆ cluster_attr_reader_func

ClusterAttrReaderFunc ogdf::GraphIO::FileType::cluster_attr_reader_func

Definition at line 90 of file GraphIO.h.

◆ cluster_attr_writer_func

ClusterAttrWriterFunc ogdf::GraphIO::FileType::cluster_attr_writer_func

Definition at line 92 of file GraphIO.h.

◆ cluster_reader_func

ClusterReaderFunc ogdf::GraphIO::FileType::cluster_reader_func

Definition at line 87 of file GraphIO.h.

◆ cluster_writer_func

ClusterWriterFunc ogdf::GraphIO::FileType::cluster_writer_func

Definition at line 89 of file GraphIO.h.

◆ extensions

std::vector<std::string> ogdf::GraphIO::FileType::extensions

Definition at line 80 of file GraphIO.h.

◆ reader_func

ReaderFunc ogdf::GraphIO::FileType::reader_func

Definition at line 81 of file GraphIO.h.

◆ writer_func

WriterFunc ogdf::GraphIO::FileType::writer_func

Definition at line 83 of file GraphIO.h.


The documentation for this struct was generated from the following file: