• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

Public Member Functions | List of all members
AbstractCode Class Referenceabstract

#include <abstractcode.h>

Inheritance diagram for AbstractCode:
Inheritance graph
[legend]

Public Member Functions

virtual ~AbstractCode ()
 
virtual QString propertyAdderDeclaration (const Property *property, const ResourceClass *resourceClass, const QString &nameSpace=QString()) const =0
 
virtual QString propertyAdderDefinition (const Property *property, const ResourceClass *resourceClass) const =0
 
virtual QString propertyGetterDeclaration (const Property *property, const ResourceClass *resourceClass, const QString &nameSpace=QString()) const =0
 
virtual QString propertyGetterDefinition (const Property *property, const ResourceClass *resourceClass) const =0
 
virtual QString propertyReversePropertyGetterDeclaration (const Property *property, const ResourceClass *resourceClass, const QString &nameSpace=QString()) const =0
 
virtual QString propertyReversePropertyGetterDefinition (const Property *property, const ResourceClass *resourceClass) const =0
 
virtual QString propertySetterDeclaration (const Property *property, const ResourceClass *resourceClass, const QString &nameSpace=QString()) const =0
 
virtual QString propertySetterDefinition (const Property *property, const ResourceClass *resourceClass) const =0
 
virtual QString resourceAllResourcesDeclaration (const ResourceClass *resourceClass, const QString &nameSpace=QString()) const =0
 
virtual QString resourceAllResourcesDefinition (const ResourceClass *resourceClass) const =0
 
virtual QString resourcePseudoInheritanceDeclaration (const ResourceClass *resourceBaseClass, const ResourceClass *resourceClass, const QString &nameSpace=QString()) const =0
 
virtual QString resourcePseudoInheritanceDefinition (const ResourceClass *resourceBaseClass, const ResourceClass *resourceClass) const =0
 

Detailed Description

A class that encapsulates the definition generation methods.

This class encapsulates the code generation for the definitions of the resource and property getter and setter methods.

Definition at line 29 of file abstractcode.h.

Constructor & Destructor Documentation

virtual AbstractCode::~AbstractCode ( )
inlinevirtual

Definition at line 32 of file abstractcode.h.

Member Function Documentation

virtual QString AbstractCode::propertyAdderDeclaration ( const Property *  property,
const ResourceClass *  resourceClass,
const QString &  nameSpace = QString() 
) const
pure virtual

Returns the declaration of the property adder method.

Parameters
propertyThe property to work on.
resourceClassThe resource the property belongs to.
withNamespaceWhether the namespace shall be included or not.

Implemented in SafeCode.

virtual QString AbstractCode::propertyAdderDefinition ( const Property *  property,
const ResourceClass *  resourceClass 
) const
pure virtual

Returns the definition of the property adder method.

Parameters
propertyThe property to work on.
resourceClassThe resource the property belongs to.

Implemented in SafeCode.

virtual QString AbstractCode::propertyGetterDeclaration ( const Property *  property,
const ResourceClass *  resourceClass,
const QString &  nameSpace = QString() 
) const
pure virtual

Returns the declaration of the property getter method.

Parameters
propertyThe property to work on.
resourceClassThe resource the property belongs to.
withNamespaceWhether the namespace shall be included or not.

Implemented in SafeCode.

virtual QString AbstractCode::propertyGetterDefinition ( const Property *  property,
const ResourceClass *  resourceClass 
) const
pure virtual

Returns the definition of the property getter method.

Parameters
propertyThe property to work on.
resourceClassThe resource the property belongs to.

Implemented in SafeCode.

virtual QString AbstractCode::propertyReversePropertyGetterDeclaration ( const Property *  property,
const ResourceClass *  resourceClass,
const QString &  nameSpace = QString() 
) const
pure virtual

Returns the declaration of the property for the reverse property getter method.

Parameters
propertyThe property to work on.
resourceClassThe resource the property belongs to.
withNamespaceWhether the namespace shall be included or not.

Implemented in SafeCode.

virtual QString AbstractCode::propertyReversePropertyGetterDefinition ( const Property *  property,
const ResourceClass *  resourceClass 
) const
pure virtual

Returns the definition of the property for the reverse property getter method.

Parameters
propertyThe property to work on.
resourceClassThe resource the property belongs to.

Implemented in SafeCode.

virtual QString AbstractCode::propertySetterDeclaration ( const Property *  property,
const ResourceClass *  resourceClass,
const QString &  nameSpace = QString() 
) const
pure virtual

Returns the declaration of the property setter method.

Parameters
propertyThe property to work on.
resourceClassThe resource the property belongs to.
withNamespaceWhether the namespace shall be included or not.

Implemented in SafeCode.

virtual QString AbstractCode::propertySetterDefinition ( const Property *  property,
const ResourceClass *  resourceClass 
) const
pure virtual

Returns the definition of the property setter method.

Parameters
propertyThe property to work on.
resourceClassThe resource the property belongs to.

Implemented in SafeCode.

virtual QString AbstractCode::resourceAllResourcesDeclaration ( const ResourceClass *  resourceClass,
const QString &  nameSpace = QString() 
) const
pure virtual

Returns the declaration of the resource method that returns all resources.

Parameters
resourceClassThe resource to work on.
withNamespaceWhether the namespace shall be included or not.

Implemented in SafeCode.

virtual QString AbstractCode::resourceAllResourcesDefinition ( const ResourceClass *  resourceClass) const
pure virtual

Returns the definition of the resource method that returns all resources.

Parameters
resourceClassThe resource to work on.

Implemented in SafeCode.

virtual QString AbstractCode::resourcePseudoInheritanceDeclaration ( const ResourceClass *  resourceBaseClass,
const ResourceClass *  resourceClass,
const QString &  nameSpace = QString() 
) const
pure virtual

Returns the declaration of the resource method that provides pseudo inheritance.

Parameters
resourceBaseClassThe resource to work on.
resourceClassThe resource to cast to.
withNamespaceWhether the namespace shall be included or not.

Implemented in SafeCode.

virtual QString AbstractCode::resourcePseudoInheritanceDefinition ( const ResourceClass *  resourceBaseClass,
const ResourceClass *  resourceClass 
) const
pure virtual

Returns the definition of the resource method that provides pseudo inheritance.

Parameters
resourceBaseClassThe resource to work on.
resourceClassThe resource to cast to.

Implemented in SafeCode.


The documentation for this class was generated from the following file:
  • abstractcode.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Nepomuk-Core

Skip menu "Nepomuk-Core"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal