Skip to content
Snippets Groups Projects
Commit fd043e83 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

DOC: A few comments in code.

parent 576e9ff6
No related branches found
No related tags found
1 merge request!33Release 0.1
Pipeline #14183 passed
Pipeline: caosdb-cppinttest

#14189

    ......@@ -348,6 +348,9 @@ private:
    inline Messages() : RepeatedPtrFieldWrapper(){};
    };
    ///////////////////////////////////////////////////////////////////////////////
    // class Parent ///////////////////////////////////////////////////////////////
    /**
    * Parent of an Entity.
    *
    ......@@ -436,6 +439,9 @@ private:
    : RepeatedPtrFieldWrapper(wrapped){};
    };
    ///////////////////////////////////////////////////////////////////////////////
    // class Property /////////////////////////////////////////////////////////////
    /**
    * Property of an Entity.
    *
    ......@@ -615,6 +621,9 @@ private:
    : RepeatedPtrFieldWrapper<Property, ProtoProperty>(wrapped){};
    };
    ///////////////////////////////////////////////////////////////////////////////
    // class Entity ///////////////////////////////////////////////////////////////
    /**
    * Entity is the central and basic data object of CaosDB.
    *
    ......
    ......@@ -79,7 +79,7 @@ std::size_t FileReader::read(std::string &buffer) {
    if (bufferSize > 0) {
    // TODO(henrik): fix nolint
    if (!stream_.read(&buffer[0], bufferSize)) { // NOLINT
    throw FileIOError("Can't read file: " + filename_.string());
    throw FileIOError("Can't read data from file: " + filename_.string());
    }
    bytesRead = static_cast<std::size_t>(stream_.gcount());
    ......
    ......@@ -344,7 +344,7 @@ auto Transaction::WaitForIt() const noexcept -> TransactionStatus { // NOLINT
    default:
    CAOSDB_LOG_FATAL(logger_name) << "Received invalid TransactionResponseCase.";
    break;
    }
    } // default to sub_response.transaction_response_case()
    if (result != nullptr) {
    if (result->HasErrors()) {
    set_error = true;
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment