Method and apparatus for creating templates
First Claim
Patent Images
1. A method comprising:
- creating, by one or more computers configured to create a template, a template class that stores at least one template parameter;
specifying, by the one or more computers, at least one additional object to be created when an instance of the template class is created;
initiating, by the one or more computers, the creation of a new instance of the template class using the at least one template parameter;
instantiating, by the one or more computers, the at least one additional object using one or more values of the new instance of the template class;
if the new instance of the template class is modified, re-instantiating, by the one or more computers, an additional object of the at least one additional object that changes;
if the new instance of the template class is deleted, deleting, by the one or more computers, the at least one additional object; and
if an error occurs during the creation of the new instance of the template class, receiving a report identifying the error.
1 Assignment
0 Petitions
Accused Products
Abstract
A template creator creates a template class that stores at least one template parameter. The template creator also specifies at least one additional object to be created when an instance of the template class is created. A template user initiates the creation of a new instance of the template class. If an error occurs during the creation of the new instance of the template class, the template user receives a report identifying the error.
-
Citations
18 Claims
-
1. A method comprising:
-
creating, by one or more computers configured to create a template, a template class that stores at least one template parameter; specifying, by the one or more computers, at least one additional object to be created when an instance of the template class is created; initiating, by the one or more computers, the creation of a new instance of the template class using the at least one template parameter; instantiating, by the one or more computers, the at least one additional object using one or more values of the new instance of the template class; if the new instance of the template class is modified, re-instantiating, by the one or more computers, an additional object of the at least one additional object that changes; if the new instance of the template class is deleted, deleting, by the one or more computers, the at least one additional object; and if an error occurs during the creation of the new instance of the template class, receiving a report identifying the error. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method comprising:
-
creating, by one or more computers configured to create a template, a first template class; designating, by the one or more computers, inputs associated with the first template class; designating, by the one or more computers, outputs associated with the first template class; creating, by the one or more computers, a second template class; designating, by the one or more computers, inputs associated with the second template class; designating, by the one or more computers, outputs associated with the second template class; specifying at least one order parameter that identifies an order in which the first template class and the second template class are instantiated; and creating, by the one or more computers, a third template class by combining the first template class and the second template class. - View Dependent Claims (8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. One or more computer storage media having computer-executable modules stored thereon a template description structure comprising:
-
at least one template class that stores a plurality of template parameters; at least one template builder class that identifies at least one additional object to be created with each instance of the template class; and at least one order parameter that identifies the order in which the template builder classes are instantiated. - View Dependent Claims (17, 18)
-
Specification