Return the namespace string from joining all the namespaces by "::" (hence no leading "::"). Return default if namespace string is empty.
(self, default: str = "")
| 445 | |
| 446 | # Only allow certain level of namespaces |
| 447 | def get_cpp_namespace(self, default: str = "") -> str: |
| 448 | """ |
| 449 | Return the namespace string from joining all the namespaces by "::" (hence no leading "::"). |
| 450 | Return default if namespace string is empty. |
| 451 | """ |
| 452 | return self.cpp_namespace_ if self.cpp_namespace_ else default |
| 453 | |
| 454 | |
| 455 | class OrderedSet(Generic[T]): |
no outgoing calls