.. _program_listing_file_include_flamegpu_model_EnvironmentDirectedGraphData.cuh: Program Listing for File EnvironmentDirectedGraphData.cuh ========================================================= |exhale_lsh| :ref:`Return to documentation for file ` (``include/flamegpu/model/EnvironmentDirectedGraphData.cuh``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef INCLUDE_FLAMEGPU_MODEL_ENVIRONMENTDIRECTEDGRAPHDATA_CUH_ #define INCLUDE_FLAMEGPU_MODEL_ENVIRONMENTDIRECTEDGRAPHDATA_CUH_ #include #include #include "flamegpu/model/Variable.h" #include "flamegpu/model/ModelData.h" namespace flamegpu { class EnvironmentDescription; struct EnvironmentDirectedGraphData { friend class EnvironmentDescription; friend struct EnvironmentData; std::weak_ptr model; VariableMap vertexProperties{}; VariableMap edgeProperties{}; std::string name; bool operator==(const EnvironmentDirectedGraphData& rhs) const; bool operator!=(const EnvironmentDirectedGraphData& rhs) const; explicit EnvironmentDirectedGraphData(const EnvironmentDirectedGraphData& other) = delete; protected: explicit EnvironmentDirectedGraphData(const std::shared_ptr& model, const EnvironmentDirectedGraphData& other); explicit EnvironmentDirectedGraphData(const std::shared_ptr& parent, const std::string& graph_name); }; } // namespace flamegpu #endif // INCLUDE_FLAMEGPU_MODEL_ENVIRONMENTDIRECTEDGRAPHDATA_CUH_