-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReadTxt.h
29 lines (22 loc) · 963 Bytes
/
ReadTxt.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once
#include "Enums.h"
#include "Scene.h"
#include "Feature.h"
#include "Occupation.h"
#include "Trait.h"
#include <vector>
#include <string>
#include <map>
#include <iostream>
#include <fstream>
#include <sstream>
void split(const std::string& s, char delim, std::vector<std::string>& elems);
std::map<std::string, std::string> importVocab(std::string fileName);
std::vector<Feature> importFeatures(std::string fileName);
std::vector<Occupation> importOccus(std::string fileName);
std::vector<Trait> importTraits(std::string fileName);
std::vector<Chapter> importChapters(std::string fileName, std::string effects);
std::vector<Scene> importScenes(std::string fileName, std::string effects);
Scene generateScene(std::vector<std::string> info);
std::vector<Scene> importEffects(std::vector<Scene> scenes, std::string fileName);
std::vector<Chapter> importChapterE(std::vector<Chapter> chapters, std::string fileName);