Skip to content

Commit

Permalink
Fix doxygen warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemartinlogan committed Nov 28, 2022
1 parent cb2273b commit b35c906
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ def _CreateH(self, namespace, includes, path):
# Create the class definition
self.h_lines.append(f"namespace hermes::adapter::{namespace} {{")
self.h_lines.append(f"")
self.h_lines.append(f"/** Pointers to the real {namespace} API */")
self.h_lines.append(f"class API {{")

# Create class function pointers
Expand Down
5 changes: 5 additions & 0 deletions adapter/filesystem/filesystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,11 @@ struct IoOptions {
return opts;
}

/**
* Ensure that I/O goes only to Hermes, and does not fall back to PFS.
*
* @param orig_opts The original options to modify
* */
static IoOptions PlaceInHermes(IoOptions &orig_opts) {
IoOptions opts(orig_opts);
opts.seek_ = false;
Expand Down
1 change: 1 addition & 0 deletions adapter/mpiio/real_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ typedef int (*MPI_File_sync_t)(MPI_File fh);

namespace hermes::adapter::mpiio {

/** Pointers to the real mpiio API */
class API {
public:
/** MPI_Init */
Expand Down
1 change: 1 addition & 0 deletions adapter/posix/real_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ typedef int (*close_t)(int fd);

namespace hermes::adapter::posix {

/** Pointers to the real posix API */
class API {
public:
/** MPI_Init */
Expand Down
1 change: 1 addition & 0 deletions adapter/stdio/real_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ typedef long int (*ftell_t)(FILE * fp);

namespace hermes::adapter::stdio {

/** Pointers to the real stdio API */
class API {
public:
/** MPI_Init */
Expand Down
5 changes: 3 additions & 2 deletions src/api/vbucket.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,10 @@ class VBucket {
size_t Get(const std::string &name, Bucket *bkt, void *user_blob,
size_t blob_size, const Context &ctx);

/** retrieves the subset of blob links satisfying pred */
/** could return iterator */
/** retrieves all blob links */
std::vector<std::string> GetLinks();

/** retrieves all blob links subject to a predicte in \a ctx */
std::vector<std::string> GetLinks(Context &ctx);

/** \brief Attach a Trait to this VBucket.
Expand Down

0 comments on commit b35c906

Please sign in to comment.