dlvhex  2.5.0
ComfortLiteral Struct Reference

#include <include/dlvhex2/ComfortPluginInterface.h>

Inheritance diagram for ComfortLiteral:
Collaboration diagram for ComfortLiteral:

Public Member Functions

const std::string & toString () const
 Creates a string representation of a literal.

Protected Member Functions

void calculateStrVal () const
 Recomputes ComportLiteral::strval.

Protected Attributes

std::string strval
 Cached string representation.

Detailed Description

Definition at line 418 of file ComfortPluginInterface.h.


Member Function Documentation

void ComfortLiteral::calculateStrVal ( ) const [protected]

Recomputes ComportLiteral::strval.

Referenced by toString().

const std::string& ComfortLiteral::toString ( ) const [inline]

Creates a string representation of a literal.

Returns:
String representation of a literal.

Definition at line 424 of file ComfortPluginInterface.h.

References calculateStrVal(), and strval.


Field Documentation

std::string ComfortLiteral::strval [mutable, protected]

Cached string representation.

Definition at line 429 of file ComfortPluginInterface.h.

Referenced by toString().


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