CodeGen
[ class tree: CodeGen ] [ index: CodeGen ] [ all elements ]

Class: CodeGen_Dependency_Lib

Source Location: /CodeGen-1.0.7/CodeGen/Dependency/Lib.php

Class Overview

CodeGen_Element
   |
   --CodeGen_Dependency_Lib

Class representing a library dependencyp


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005-2008 Hartmut Holzgraefe

Variables

Methods


Inherited Variables

Inherited Methods

Class: CodeGen_Element

CodeGen_Element::addIfCondition()
ifCondition adder
CodeGen_Element::cCode()
Generate C code for element
CodeGen_Element::cCodeFooter()
Generate C code footer block for all elements of this class
CodeGen_Element::cCodeHeader()
Generate C code header block for all elements of this class
CodeGen_Element::docEntry()
Generate documentation code for element
CodeGen_Element::docFooter()
Generate documentation footer block for all elements of this class
CodeGen_Element::docHeader()
Generate documentation header block for all elements of this class
CodeGen_Element::getIfCondition()
ifCondition getter
CodeGen_Element::getName()
Name getter
CodeGen_Element::hCode()
Generate C include file definitions for element
CodeGen_Element::ifConditionEnd()
Conditional compilation end
CodeGen_Element::ifConditionStart()
Conditional compilation start
CodeGen_Element::isKeyword()
Checks whether a string is a reserved name
CodeGen_Element::isName()
Checks whether a string is a valid C name
CodeGen_Element::setDescription()
Description setter
CodeGen_Element::setIfCondition()
ifCondition setter
CodeGen_Element::setName()
Name setter
CodeGen_Element::setSummary()
Summary setter

Class Details

[line 38]
Class representing a library dependencyp


[ Top ]


Class Variables

$function =  ""

[line 67]

function to check for
  • Access: protected

Type:   string


[ Top ]

$name =

[line 46]

library basename
  • Access: protected

Type:   string
Overrides:   Array


[ Top ]

$path =  "lib"

[line 53]

library searchpath relative to install prefix
  • Access: protected

Type:   string


[ Top ]

$platform =

[line 60]

library platform
  • Access: protected

Type:   object


[ Top ]



Method Detail

__construct (Constructor)   [line 75]

CodeGen_Dependency_Lib __construct( string $name, [string $platform = "all"])

Constructor

Parameters:

string   $name   —  library basename
string   $platform   —  platform name

[ Top ]

configm4   [line 131]

string configm4( string $extName, string $withName)

write config.m4 code snippet for unix builds
  • Return: code snippet

Parameters:

string   $extName   —  Extension name
string   $withName   —  --with option name

[ Top ]

getName   [line 108]

string getName( )

basename getter

Overrides CodeGen_Element::getName() (Name getter)
[ Top ]

setFunction   [line 98]

void setFunction( string $function)

test function setter

Parameters:

string   $function   — 

[ Top ]

setPath   [line 88]

void setPath( string $path)

path setter

Parameters:

string   $path   — 

[ Top ]

testPlatform   [line 119]

bool testPlatform( platfrom $name)

check for platform

Parameters:

platfrom   $name   —  name

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:39:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.