Namespaces

Enumerations

enum future_status
Name Value
ready 0
timeout 1

future_status is the enumeration returned by future::wait_for and

future::wait_until.

Defined at line 41 of file ../../third_party/github.com/google/cppdap/src/include/dap/future.h

enum OnInvalidData
Name Value
kIgnore 0
kClose 1

An enum flag that controls how the Session handles invalid data.

Defined at line 107 of file ../../third_party/github.com/google/cppdap/src/include/dap/session.h

Records

Functions

  • template <class T, class U>
    bool operator== (const optional<T> & lhs, const optional<U> & rhs)

    Defined at line 202 of file ../../third_party/github.com/google/cppdap/src/include/dap/optional.h

  • template <class T, class U>
    bool operator!= (const optional<T> & lhs, const optional<U> & rhs)

    Defined at line 213 of file ../../third_party/github.com/google/cppdap/src/include/dap/optional.h

  • template <class T, class U>
    bool operator< (const optional<T> & lhs, const optional<U> & rhs)

    Defined at line 218 of file ../../third_party/github.com/google/cppdap/src/include/dap/optional.h

  • template <class T, class U>
    bool operator<= (const optional<T> & lhs, const optional<U> & rhs)

    Defined at line 229 of file ../../third_party/github.com/google/cppdap/src/include/dap/optional.h

  • template <class T, class U>
    bool operator> (const optional<T> & lhs, const optional<U> & rhs)

    Defined at line 240 of file ../../third_party/github.com/google/cppdap/src/include/dap/optional.h

  • template <class T, class U>
    bool operator>= (const optional<T> & lhs, const optional<U> & rhs)

    Defined at line 251 of file ../../third_party/github.com/google/cppdap/src/include/dap/optional.h

  • std::shared_ptr<ReaderWriter> pipe ()

    pipe() returns a ReaderWriter where the Writer streams to the Reader.

    Writes are internally buffered.

    Calling close() on either the Reader or Writer will close both ends of the

    stream.

  • std::shared_ptr<ReaderWriter> file (FILE * file, bool closable)

    file() wraps file with a ReaderWriter.

    If closable is false, then a call to ReaderWriter::close() will not close the

    underlying file.

  • std::shared_ptr<ReaderWriter> file (const char * path)

    file() opens (or creates) the file with the given path.

  • std::shared_ptr<Reader> spy (const std::shared_ptr<Reader> & r, const std::shared_ptr<Writer> & s, const char * prefix)

    spy() returns a Reader that copies all reads from the Reader r to the Writer

    s, using the given optional prefix.

  • std::shared_ptr<Writer> spy (const std::shared_ptr<Writer> & w, const std::shared_ptr<Writer> & s, const char * prefix)

    spy() returns a Writer that copies all writes to the Writer w to the Writer

    s, using the given optional prefix.

  • bool writef (const std::shared_ptr<Writer> & wconst char * msg)

    writef writes the printf style string to the writer w.