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


Classes:
CodeGen_Command
CodeGen_Dependency_Header
CodeGen_Dependency_Lib
CodeGen_Element
CodeGen_Extension
CodeGen_ExtensionParser
CodeGen_License
CodeGen_License_BSD
CodeGen_License_LGPL
CodeGen_License_PHP
CodeGen_Maintainer
CodeGen_Release
CodeGen_Tools_Code
CodeGen_Tools_FileReplacer
CodeGen_Tools_Getopt
CodeGen_Tools_Indent
CodeGen_Tools_IndentC
CodeGen_Tools_Outbuf
CodeGen_Tools_Platform
CodeGen_Tools_Tokenizer
CodeGen_XmlParser
Files:
BSD.php
Code.php
Command.php
Element.php
Extension.php
ExtensionParser.php
FileReplacer.php
Getopt.php
Header.php
Indent.php
IndentC.php
LGPL.php
Lib.php
License.php
Maintainer.php
Outbuf.php
PHP.php
Platform.php
Release.php
Tokenizer.php
XmlParser.php

Class: CodeGen_Dependency_Lib

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

Class Overview

CodeGen_Element
 |
 --CodeGen_Dependency_Lib

Class representing a library dependencyp


Author(s):

Version:

  • Release: @package_version@

Copyright:

  • 2005 Hartmut Holzgraefe

Variables

Methods


Inherited Variables

Class: CodeGen_Element

CodeGen_Element::$description
CodeGen_Element::$summary

Inherited Methods

Class: CodeGen_Element

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::getName()
Name getter
CodeGen_Element::hCode()
Generate C include file definitions for element
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::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 2019年3月11日 14:41:41 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.

AltStyle によって変換されたページ (->オリジナル) /