Searched refs:cur_name_space_ (Results 1 – 2 of 2) sorted by relevance
37 cur_name_space_(nullptr) {} in CppGenerator()101 assert(!cur_name_space_); in generate()258 assert(cur_name_space_); in generate()273 const Namespace *cur_name_space_; member in flatbuffers::cpp::CppGenerator275 const Namespace *CurrentNameSpace() const { return cur_name_space_; } in CurrentNameSpace()1876 if (cur_name_space_ == ns) { in SetNameSpace()1884 size_t old_size = cur_name_space_ ? cur_name_space_->components.size() : 0; in SetNameSpace()1890 cur_name_space_->components[common_prefix_size]) { in SetNameSpace()1897 code_ += "} // namespace " + cur_name_space_->components[j - 1]; in SetNameSpace()1912 cur_name_space_ = ns; in SetNameSpace()
155 cur_name_space_( nullptr ) { in GeneralGenerator()161 cur_name_space_ = parser_.namespaces_.back(); in generate()168 cur_name_space_ = enum_def.defined_namespace; in generate()183 cur_name_space_ = struct_def.defined_namespace; in generate()220 const Namespace *CurrentNameSpace() const { return cur_name_space_; } in CurrentNameSpace()1341 const Namespace *cur_name_space_; member in flatbuffers::general::GeneralGenerator