1
0
Fork 0

fixed doxygen generation

This commit is contained in:
Jan Steemann 2013-07-29 13:38:00 +02:00
parent e368ab7a71
commit 226667bea1
5 changed files with 42 additions and 39 deletions

View File

@ -49,5 +49,5 @@ This is an introduction to ArangoDB's Http replication interface.
@copydetails triagens::arango::RestReplicationHandler::handleCommandApplierStop @copydetails triagens::arango::RestReplicationHandler::handleCommandApplierStop
@CLEARPAGE @CLEARPAGE
@anchor HttpReplicationApplierState @anchor HttpReplicationApplierGetState
@copydetails triagens::arango::RestReplicationHandler::handleCommandApplierState @copydetails triagens::arango::RestReplicationHandler::handleCommandApplierGetState

View File

@ -13,4 +13,4 @@ TOC {#HttpReplicationTOC}
- @ref HttpReplicationApplierSetConfig "PUT /_api/replication/applier-config" - @ref HttpReplicationApplierSetConfig "PUT /_api/replication/applier-config"
- @ref HttpReplicationApplierStart "PUT /_api/replication/applier-start" - @ref HttpReplicationApplierStart "PUT /_api/replication/applier-start"
- @ref HttpReplicationApplierStop "PUT /_api/replication/applier-stop" - @ref HttpReplicationApplierStop "PUT /_api/replication/applier-stop"
- @ref HttpReplicationApplierState "GET /_api/replication/applier-state" - @ref HttpReplicationApplierGetState "GET /_api/replication/applier-state"

View File

@ -1614,7 +1614,7 @@ INCLUDE_FILE_PATTERNS =
# undefined via #undef or recursively expanded use the := operator # undefined via #undef or recursively expanded use the := operator
# instead of the = operator. # instead of the = operator.
PREDEFINED = PREDEFINED = TRI_ENABLE_REPLICATION
# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded. # this tag can be used to specify a list of macro names that should be expanded.

View File

@ -29,12 +29,20 @@
#define TRIAGENS_REST_HANDLER_REST_BATCH_HANDLER_H 1 #define TRIAGENS_REST_HANDLER_REST_BATCH_HANDLER_H 1
#include "RestHandler/RestVocbaseBaseHandler.h" #include "RestHandler/RestVocbaseBaseHandler.h"
#include "HttpServer/HttpServer.h"
using namespace triagens::basics; using namespace triagens::basics;
using namespace triagens::rest; using namespace triagens::rest;
using namespace std; using namespace std;
// -----------------------------------------------------------------------------
// --SECTION-- class RestBatchHandler
// -----------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
/// @addtogroup ArangoDB
/// @{
////////////////////////////////////////////////////////////////////////////////
namespace triagens { namespace triagens {
namespace arango { namespace arango {
@ -42,11 +50,6 @@ namespace triagens {
// --SECTION-- private types // --SECTION-- private types
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
/// @addtogroup ArangoDB
/// @{
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @brief container for complete multipart message /// @brief container for complete multipart message
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
@ -83,24 +86,11 @@ namespace triagens {
}; };
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @} /// @brief batch request handler
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
class RestBatchHandler : public RestVocbaseBaseHandler { class RestBatchHandler : public RestVocbaseBaseHandler {
// -----------------------------------------------------------------------------
// --SECTION-- RestBatchHandler
// -----------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
/// @addtogroup ArangoDB
/// @{
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
/// @brief batch request handler
////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
/// @} /// @}
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
@ -209,14 +199,14 @@ namespace triagens {
const string _partContentType; const string _partContentType;
////////////////////////////////////////////////////////////////////////////////
/// @}
////////////////////////////////////////////////////////////////////////////////
}; };
} }
} }
////////////////////////////////////////////////////////////////////////////////
/// @}
////////////////////////////////////////////////////////////////////////////////
#endif #endif
// Local Variables: // Local Variables:

View File

@ -31,7 +31,7 @@
#include "RestHandler/RestVocbaseBaseHandler.h" #include "RestHandler/RestVocbaseBaseHandler.h"
#include "HttpServer/HttpServer.h" #include "HttpServer/HttpServer.h"
#ifdef TRI_ENABLE_REPLICATION //#ifdef TRI_ENABLE_REPLICATION
using namespace triagens::basics; using namespace triagens::basics;
using namespace triagens::rest; using namespace triagens::rest;
@ -40,15 +40,28 @@ using namespace std;
struct TRI_replication_log_state_s; struct TRI_replication_log_state_s;
struct TRI_vocbase_col_s; struct TRI_vocbase_col_s;
namespace triagens {
namespace arango {
class RestReplicationHandler : public RestVocbaseBaseHandler {
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// --SECTION-- RestReplicationHandler // --SECTION-- RestReplicationHandler
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
////////////////////////////////////////////////////////////////////////////////
/// @addtogroup ArangoDB
/// @{
////////////////////////////////////////////////////////////////////////////////
namespace triagens {
namespace arango {
////////////////////////////////////////////////////////////////////////////////
/// @brief replication request handler
////////////////////////////////////////////////////////////////////////////////
class RestReplicationHandler : public RestVocbaseBaseHandler {
////////////////////////////////////////////////////////////////////////////////
/// @}
////////////////////////////////////////////////////////////////////////////////
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
// --SECTION-- constructors and destructors // --SECTION-- constructors and destructors
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
@ -252,15 +265,15 @@ namespace triagens {
static const uint64_t minChunkSize; static const uint64_t minChunkSize;
////////////////////////////////////////////////////////////////////////////////
/// @}
////////////////////////////////////////////////////////////////////////////////
}; };
} }
} }
#endif ////////////////////////////////////////////////////////////////////////////////
/// @}
////////////////////////////////////////////////////////////////////////////////
//#endif
#endif #endif