TDME2
1.9.200
src
tdme
tools
editor
misc
Markdown.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <string>
4
#include <vector>
5
6
#include <
tdme/tdme.h
>
7
#include <
tdme/gui/nodes/fwd-tdme.h
>
8
#include <
tdme/tools/editor/misc/fwd-tdme.h
>
9
10
#include <
ext/tinyxml/tinyxml.h
>
11
12
using
std::string;
13
using
std::vector;
14
15
/**
16
* Markdown
17
* @author Andreas Drewke
18
*/
19
class
tdme::tools::editor::misc::Markdown
final
20
{
21
public
:
22
struct
TOCEntry
{
23
string
id
;
24
string
level
;
25
string
title
;
26
};
27
28
/**
29
* Create mark down GUI XML
30
* @param pathName markdown path name
31
* @param pathName markdown file name
32
* @param xml resulting xml
33
* @param toc resulting table of contents
34
* @returns GUI XML
35
*/
36
static
const
string
createGUIXML
(
const
string
& pathName,
const
string
& fileName, vector<TOCEntry>& toc);
37
38
};
tdme::tools::editor::misc::Markdown
Markdown.
Definition:
Markdown.h:20
tdme::tools::editor::misc::Markdown::createGUIXML
static const string createGUIXML(const string &pathName, const string &fileName, vector< TOCEntry > &toc)
Create mark down GUI XML.
Definition:
Markdown.cpp:23
fwd-tdme.h
tdme::tools::editor::misc::Markdown::TOCEntry
Definition:
Markdown.h:22
tdme::tools::editor::misc::Markdown::TOCEntry::title
string title
Definition:
Markdown.h:25
tdme::tools::editor::misc::Markdown::TOCEntry::level
string level
Definition:
Markdown.h:24
tdme::tools::editor::misc::Markdown::TOCEntry::id
string id
Definition:
Markdown.h:23
tdme.h
tinyxml.h
fwd-tdme.h
Generated by
1.9.1