compiler: make a standard way for language generators to accept sub-namespaces
authorBryan Duxbury <bryanduxbury@apache.org>
Fri, 20 Aug 2010 16:42:04 +0000 (16:42 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Fri, 20 Aug 2010 16:42:04 +0000 (16:42 +0000)
commit681f5eae6dee4e317248145be07be0b6ded5c1e8
tree400152a6cee3319874eb83f9e5c03bc9aa45cc27
parent3adf8aad36eb46bf94c7c8ab7fc3a743775b46b2
compiler: make a standard way for language generators to accept sub-namespaces

This patch adds a new method to t_generator that allows the compiler to avoid special cases in checking for sub-namespaces in the Thrift IDL.

Patch: Bruce Lowekamp

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@987565 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_generator.h
compiler/cpp/src/generate/t_generator_registry.h
compiler/cpp/src/generate/t_st_generator.cc
compiler/cpp/src/parse/t_program.h