CppModule

Represent a semantic item in C++ source.

Members

Mixins

__anonymous
mixin CModuleX
Undocumented in source.
__anonymous
mixin CppModuleX
Undocumented in source.

Mixed In Members

From mixin CppModuleX

_
auto _()

Access to self.

friend
auto friend(string expr)
Undocumented in source. Be warned that the author may not have intended to support it.
new_
auto new_(string expr)
Undocumented in source. Be warned that the author may not have intended to support it.
delete_
auto delete_(string expr)
Undocumented in source. Be warned that the author may not have intended to support it.
delete_array
auto delete_array(string expr)
Undocumented in source. Be warned that the author may not have intended to support it.
class_suite
auto class_suite(string class_name, string headline)

Suites for C++ definitions for a class. Useful for implementiong ctor, dtor and member methods for a class.

class_suite
auto class_suite(string rval, string class_name, string headline)
Undocumented in source. Be warned that the author may not have intended to support it.
ctor
auto ctor(string class_name, T args)
Undocumented in source. Be warned that the author may not have intended to support it.
ctor
auto ctor(string class_name)
Undocumented in source. Be warned that the author may not have intended to support it.
ctor_body
auto ctor_body(string class_name, T args)
Undocumented in source. Be warned that the author may not have intended to support it.
ctor_body
auto ctor_body(string class_name)
Undocumented in source. Be warned that the author may not have intended to support it.
dtor
auto dtor(Flag!"isVirtual" isVirtual, string class_name)

Virtual d'tor.

dtor
auto dtor(string class_name)
Undocumented in source. Be warned that the author may not have intended to support it.
dtor_body
auto dtor_body(string class_name)

Definition for a dtor.

namespace
auto namespace(string n)
Undocumented in source. Be warned that the author may not have intended to support it.
class_
auto class_(string n)
Undocumented in source. Be warned that the author may not have intended to support it.
class_
auto class_(string name, string inherit)
Undocumented in source. Be warned that the author may not have intended to support it.
public_
auto public_()
Undocumented in source. Be warned that the author may not have intended to support it.
protected_
auto protected_()
Undocumented in source. Be warned that the author may not have intended to support it.
private_
auto private_()
Undocumented in source. Be warned that the author may not have intended to support it.
method
auto method(Flag!"isVirtual" isVirtual, string return_type, string name, Flag!"isConst" isConst)
Undocumented in source. Be warned that the author may not have intended to support it.
method
auto method(Flag!"isVirtual" isVirtual, string return_type, string name, Flag!"isConst" isConst, T args)
Undocumented in source. Be warned that the author may not have intended to support it.
method_body
auto method_body(string return_type, string class_name, string name, Flag!"isConst" isConst)
Undocumented in source. Be warned that the author may not have intended to support it.
method_body
auto method_body(string return_type, string class_name, string name, Flag!"isConst" isConst, T args)
Undocumented in source. Be warned that the author may not have intended to support it.
method_inline
auto method_inline(Flag!"isVirtual" isVirtual, string return_type, string name, Flag!"isConst" isConst)
Undocumented in source. Be warned that the author may not have intended to support it.
method_inline
auto method_inline(Flag!"isVirtual" isVirtual, string return_type, string name, Flag!"isConst" isConst, T args)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From BaseModule

suppressIndent
void suppressIndent(int levels)

Set indent suppression from this point and all children.

suppressThisIndent
void suppressThisIndent(int levels)

Suppress indentation by also affecting the level propagated from the parent.

setIndentation
void setIndentation(int ind)

Sets the width of the indentation

reset
auto reset()

Clear the node of childrens.

sep
void sep(int count)

Separate with at most count empty lines.

prepend
void prepend(BaseElement e)

Insert element at the front.

append
void append(BaseElement e)

Insert element at the back.

clearChildren
void clearChildren()

Remove all children and clear line separation.

indent
string indent(string s, int parent_level, int level)

Render content with an indentation that takes the parent in consideration.

renderIndent
string renderIndent(int parent_level, int level)
Undocumented in source. Be warned that the author may not have intended to support it.
renderRecursive
string renderRecursive(int parent_level, int level)
Undocumented in source. Be warned that the author may not have intended to support it.
renderPostRecursive
string renderPostRecursive(int parent_level, int level)
Undocumented in source. Be warned that the author may not have intended to support it.
render
string render()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta