Meta::Development::Link - link information for a single target object.


Meta documentation Contained in the Meta distribution.

Index


Code Index:

NAME

Top

Meta::Development::Link - link information for a single target object.

COPYRIGHT

Top

LICENSE

Top

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.

DETAILS

Top

	MANIFEST: Link.pm
	PROJECT: meta
	VERSION: 0.14

SYNOPSIS

Top

	package foo;
	use Meta::Development::Link qw();
	my($link)=Meta::Development::Link->new();
	$link->set_name("gcc");
	$link->set_description("C compiler");
	$link->set_longdescription("very good C compiler");
	$link->set_version("3.01");

DESCRIPTION

Top

This object carries all the information neccessary in order to link a single binary object (binary, archive or dll). The data includes: 0. The object files participating in the link. 1. The project internal libraries participating in the link and their respective versions. 2. The project external libraries participating in the link and their respective versions. 3. The version that needs to be given to the result. 4. The platforms on which this targets needs to be linked.

This object is used by other objects in the Meta system but you may use it on it's own for whatever purpose. In Meta it is used to hold the data about a needed link opt and supply it to various tools that know how to create the target from this data.

FUNCTIONS

Top

	BEGIN()
	init($)
	TEST($)

FUNCTION DOCUMENTATION

Top

BEGIN()

This method creates the accessor methods needed to access the attributes of this class. The attributes are: "name", "description", "longdescription", "version", "platforms", "objects", "libraries", "elibraries".

init($)

This method does instance initialization. It is internal. Do not use it directly.

TEST($)

Test suite for this module.

SUPER CLASSES

Top

None.

BUGS

Top

None.

AUTHOR

Top

	Name: Mark Veltzer
	Email: mailto:veltzer@cpan.org
	WWW: http://www.veltzer.org
	CPAN id: VELTZER

HISTORY

Top

	0.00 MV XML rules
	0.01 MV perl packaging
	0.02 MV PDMT
	0.03 MV md5 project
	0.04 MV database
	0.05 MV perl module versions in files
	0.06 MV movies and small fixes
	0.07 MV more Class method generation
	0.08 MV thumbnail user interface
	0.09 MV more thumbnail issues
	0.10 MV website construction
	0.11 MV web site development
	0.12 MV web site automation
	0.13 MV SEE ALSO section fix
	0.14 MV md5 issues

SEE ALSO

Top

Meta::Class::MethodMaker(3), strict(3)

TODO

Top

-add versions to my libraries and to external libraries.

-make the version the versio object (with smart stuff etc...) and embedded XML parsing.


Meta documentation Contained in the Meta distribution.

#!/bin/echo This is a perl module and should not be run

package Meta::Development::Link;

use strict qw(vars refs subs);
use Meta::Class::MethodMaker qw();

our($VERSION,@ISA);
$VERSION="0.14";
@ISA=qw();

#sub BEGIN();
#sub init($);
#sub TEST($);

#__DATA__

sub BEGIN() {
	Meta::Class::MethodMaker->new_with_init("new");
	Meta::Class::MethodMaker->get_set(
		-java=>"_name",
		-java=>"_description",
		-java=>"_longdescription",
		-java=>"_version",
		-java=>"_platforms",
		-java=>"_objects",
		-java=>"_libraries",
		-java=>"_elibraries",
	);
}

sub init($) {
	my($self)=@_;
	$self->set_platforms(Meta::Ds::Array->new());
	$self->set_objects(Meta::Ds::Array->new());
	$self->set_libraries(Meta::Ds::Array->new());
	$self->set_elibraries(Meta::Ds::Array->new());
}

sub TEST($) {
	my($context)=@_;
	return(1);
}

1;

__END__