Skip to content

File CoreObject.hpp

FileList > core > CoreObject.hpp

Go to the source code of this file

  • #include <fstream>
  • #include <functional>
  • #include <iostream>
  • #include <map>
  • #include <sstream>
  • #include <string>
  • #include <unordered_map>
  • #include "Serialize.hpp"

Namespaces

Type Name
namespace cse491
A base class interface for all agent types.

Classes

Type Name
class CoreObject

Macros

Type Name
define EXPERIMENTAL_CLASS __attribute__((annotate("experimental_class")))
define EXPERIMENTAL_FUNCTION __attribute__((annotate("experimental_function")))
A common interface class for core objects that sets up required functionality.

Macro Definition Documentation

define EXPERIMENTAL_CLASS

#define EXPERIMENTAL_CLASS __attribute__((annotate("experimental_class")))

define EXPERIMENTAL_FUNCTION

A common interface class for core objects that sets up required functionality.

#define EXPERIMENTAL_FUNCTION __attribute__((annotate("experimental_function")))

This file is part of the Fall 2023, CSE 491 course project.

Note:

Status: ALPHA

This CoreObject class builds an interface for all of the core object, ensuring that they can be properly serialized.

Derived classes must implement: GetTypeName_impl() - Return the qualified type name. Serialize_impl(std::ostream &) - Store the object in a stream. Deserialize_impl(std::istream &) - Restore the object from a stream.

Author:

@amantham20 uses as attribute to mark experimental classes and functions


The documentation for this class was generated from the following file source/core/CoreObject.hpp