summaryrefslogtreecommitdiff
path: root/runtimes/neurun/src/dumper/dot/IDotInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtimes/neurun/src/dumper/dot/IDotInfo.h')
-rw-r--r--runtimes/neurun/src/dumper/dot/IDotInfo.h67
1 files changed, 0 insertions, 67 deletions
diff --git a/runtimes/neurun/src/dumper/dot/IDotInfo.h b/runtimes/neurun/src/dumper/dot/IDotInfo.h
deleted file mode 100644
index d507e724a..000000000
--- a/runtimes/neurun/src/dumper/dot/IDotInfo.h
+++ /dev/null
@@ -1,67 +0,0 @@
-/*
- * Copyright (c) 2018 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef __NEURUN_DUMPER_DOT_IDOTINFO_H__
-#define __NEURUN_DUMPER_DOT_IDOTINFO_H__
-
-#include <string>
-#include <memory>
-#include <vector>
-
-namespace neurun
-{
-namespace dumper
-{
-namespace dot
-{
-
-#define DEFAULT_BG_COLOR_SCHEME "x11"
-#define DEFAULT_BG_COLOR "white"
-
-enum BGCOLORS : int
-{
- RED,
- BLUE,
- ORANGE,
- YELLOW,
- GREEN,
- PUPLE,
- CYAN,
- PINK
-};
-
-struct IDotInfo
-{
- virtual ~IDotInfo() = default;
-
- virtual std::string index_str() const = 0;
- virtual std::string label() const = 0;
- virtual std::string dot_shape() const = 0;
- virtual std::string bg_color_scheme() const { return DEFAULT_BG_COLOR_SCHEME; }
- virtual std::string bg_color() const { return DEFAULT_BG_COLOR; }
-
- void appendChild(std::shared_ptr<IDotInfo> dotinfo) { _children.emplace_back(dotinfo); }
- const std::vector<std::shared_ptr<IDotInfo>> &children() const { return _children; }
-
-private:
- std::vector<std::shared_ptr<IDotInfo>> _children;
-};
-
-} // namespace dot
-} // namespace dumper
-} // namespace neurun
-
-#endif // __NEURUN_DUMPER_DOT_IDOTINFO_H__