2007-08-27 19:57:34 +00:00
|
|
|
#include <iostream>
|
|
|
|
|
#include "gen-cpp/PartiallyReflectable.h"
|
|
|
|
|
#include "gen-cpp/Service.h"
|
|
|
|
|
#include "../lib/cpp/src/protocol/TDebugProtocol.h"
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
using std::cout;
|
|
|
|
|
using std::endl;
|
|
|
|
|
|
|
|
|
|
facebook::thrift::reflection::limited::Service srv1;
|
2008-04-07 23:45:00 +00:00
|
|
|
thrift::test::debug::PartiallyReflectableIf::getStaticLimitedReflection(srv1);
|
2007-08-27 19:57:34 +00:00
|
|
|
cout << facebook::thrift::ThriftDebugString(srv1) << endl << endl;
|
|
|
|
|
|
|
|
|
|
facebook::thrift::reflection::limited::Service srv2;
|
|
|
|
|
test::stress::ServiceIf::getStaticLimitedReflection(srv2);
|
|
|
|
|
cout << facebook::thrift::ThriftDebugString(srv2) << endl << endl;
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
|
}
|