Thrift: Limited Reflection for C++.
authorDavid Reiss <dreiss@apache.org>
Mon, 27 Aug 2007 19:57:34 +0000 (19:57 +0000)
committerDavid Reiss <dreiss@apache.org>
Mon, 27 Aug 2007 19:57:34 +0000 (19:57 +0000)
commit2375312fa05e1560f0fc83c642dcb2535d9d2eba
treec97b21fea0603a3e3f36a596de4597f034a946c9
parent5ec8e26d25dc459041e7c31aa2c65eff4f70ad4e
Thrift: Limited Reflection for C++.

Summary:
The Thrift compiler now generates static methods for every service to generate
a reflection of the methods provided by the service.  This reflection is fairly
limited, but should be enough for what we want to do with SMC.

Reviewed By: mcslee

Test Plan: test/ReflectionTest.cpp

Revert Plan: ok

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665226 13f79535-47bb-0310-9956-ffa450edef68
cleanup.sh
compiler/cpp/src/generate/t_cpp_generator.cc
compiler/cpp/src/generate/t_cpp_generator.h
if/reflection_limited.thrift [new file with mode: 0644]
if/regen.sh [new file with mode: 0755]
lib/cpp/Makefile.am
lib/cpp/src/TLogging.h
lib/cpp/src/reflection_limited_types.cpp [new file with mode: 0644]
lib/cpp/src/reflection_limited_types.h [new file with mode: 0644]
test/DebugProtoTest.thrift
test/ReflectionTest.cpp [new file with mode: 0644]