LIBRCSC Docs
Documentation for HELIOS's BASE LIBRCSC library for RoboCup 2D Simulation League.
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Types | Public Member Functions | Protected Member Functions | List of all members
rcsc::CLangDirective Class Referenceabstract

abstract clang directive More...

#include <clang_directive.h>

Inheritance diagram for rcsc::CLangDirective:
Inheritance graph
[legend]

Public Types

enum  Type { COMMON , NAMED , MAX_TYPE }
 clang directive types
 
typedef std::shared_ptr< const CLangDirectiveConstPtr
 smart pointer type
 
typedef std::vector< ConstPtrCont
 directive list type
 

Public Member Functions

virtual ~CLangDirective ()
 virtual destructor
 
virtual Type type () const =0
 get type id. More...
 
virtual std::ostream & print (std::ostream &os) const =0
 print clang message to the output stream More...
 

Protected Member Functions

 CLangDirective ()
 protected constructor
 

Detailed Description

abstract clang directive

Member Function Documentation

◆ print()

virtual std::ostream & rcsc::CLangDirective::print ( std::ostream &  os) const
pure virtual

print clang message to the output stream

Parameters
osreference to the output stream
Returns
reference to the output stream

Implemented in rcsc::CLangDirectiveCommon.

◆ type()

virtual Type rcsc::CLangDirective::type ( ) const
pure virtual

get type id.

Returns
action type id.

Implemented in rcsc::CLangDirectiveCommon.


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