ArmNN
 20.02
DotDefaults Class Reference

#include <DotSerializer.hpp>

Inheritance diagram for DotDefaults:
DotBase

Public Member Functions

 DotDefaults (std::ostream &stream, const char *type)
 
 ~DotDefaults ()
 
DotAttributeSetGetAttributeSet ()
 
- Public Member Functions inherited from DotBase
 DotBase (std::ostream &stream)
 
std::ostream & GetStream ()
 

Detailed Description

Definition at line 114 of file DotSerializer.hpp.

Constructor & Destructor Documentation

◆ DotDefaults()

DotDefaults ( std::ostream &  stream,
const char *  type 
)
explicit

Definition at line 208 of file DotSerializer.cpp.

References DotBase::GetStream().

209  : DotBase(stream)
210 {
211  std::stringstream ss;
212  ss << Indent(4) << type;
213 
214  GetStream() << ss.str() << " ";
215  m_Attributes = std::make_unique<DotAttributeSet>(stream);
216 }
DotBase(std::ostream &stream)
std::ostream & GetStream()

◆ ~DotDefaults()

Definition at line 218 of file DotSerializer.cpp.

References DotBase::GetStream().

219 {
220  m_Attributes.reset(nullptr);
221  GetStream() << ";" << std::endl;
222 }
std::ostream & GetStream()

Member Function Documentation

◆ GetAttributeSet()

DotAttributeSet& GetAttributeSet ( )
inline

Definition at line 120 of file DotSerializer.hpp.

Referenced by Graph::SerializeToDot().

120 { return *m_Attributes.get(); }

The documentation for this class was generated from the following files: