Lines Matching refs:Namespace
24 namespace flatbuffers {
36 namespace cpp {
51 "inline", "int", "long", "module", "mutable", "namespace", "new",
74 // For further uniqueness, also add the namespace.
350 // This tracks the current namespace so we can insert namespace declarations.
351 const Namespace *cur_name_space_;
353 const Namespace *CurrentNameSpace() const { return cur_name_space_; }
356 // the equivalent C++ namespace.
1832 // Need to call "Create" with the struct namespace.
2197 // Need to call "Create" with the struct namespace.
2416 // Set up the correct namespace. Only open a namespace if the existing one is
2419 // The file must start and end with an empty (or null) namespace so that
2421 void SetNameSpace(const Namespace *ns) {
2426 // Compute the size of the longest common namespace prefix.
2443 code_ += "} // namespace " + cur_name_space_->components[j - 1];
2449 // open namespace parts to reach the ns namespace
2452 code_ += "namespace " + ns->components[j] + " {";
2462 } // namespace cpp
2482 } // namespace flatbuffers