Joedb 9.1.4
The Journal-Only Embedded Database
Loading...
Searching...
No Matches
nested_namespace.h
Go to the documentation of this file.
1#ifndef joedb_nested_namespace_declared
2#define joedb_nested_namespace_declared
3
4#include <vector>
5#include <string>
6#include <iostream>
7
8namespace joedb
9{
10 /// @addtogroup compiler
11 /// @{
12
13 std::vector<std::string> split_namespace(const std::string &s);
14
15 std::string namespace_string
16 (
17 const std::vector<std::string> &n,
18 const char *delimiter = "::"
19 );
20
21 void namespace_open(std::ostream &out, const std::vector<std::string> &n);
22 void namespace_close(std::ostream &out, const std::vector<std::string> &n);
23
25 (
26 std::ostream &out,
27 const std::vector<std::string> &n,
28 const char *delimiter = "::"
29 );
30
32 (
33 std::ostream &out,
34 const char *name,
35 const std::vector<std::string> &n
36 );
37
38 /// @}
39}
40
41#endif
void namespace_open(std::ostream &out, const std::vector< std::string > &n)
void namespace_close(std::ostream &out, const std::vector< std::string > &n)
void namespace_write(std::ostream &out, const std::vector< std::string > &n, const char *delimiter)
void namespace_include_guard(std::ostream &out, const char *name, const std::vector< std::string > &n)
std::string namespace_string(const std::vector< std::string > &n, const char *delimiter)
std::vector< std::string > split_namespace(const std::string &s)
Definition Blob.h:7