|
Makeprojects
|
Visual Studio 2010- formatter. More...


Public Member Functions | |
| __init__ (self, project) | |
| Init defaults. | |
| generate (self, line_list=None, indent=0, ide=None) | |
| Write out the VisualStudioProject record. | |
| Public Member Functions inherited from makeprojects.visual_studio_2010.VS2010XML | |
| __init__ (self, name, attribute_defaults=None, contents=None) | |
| Set the defaults. | |
| add_defaults (self, attribute_defaults) | |
| Add a dict of attribute defaults. | |
| add_attribute (self, name, value) | |
| Add an attribute to this XML element. | |
| add_element (self, element) | |
| Add an element to this XML element. | |
| add_tag (self, tag_name, tag_value) | |
| Add a XML tag to this XML element. | |
| add_tags (self, tag_list) | |
| Add an array of XML tags to this XML element. | |
| set_attribute (self, name, value) | |
| Either change existing attribute or create a new one. | |
| remove_attribute (self, name) | |
| Remove an attribute. | |
| reset_attribute (self, name) | |
| Reset an attribute to default. | |
| __repr__ (self) | |
| Convert the solultion record into a human readable description. | |
| __str__ (self) | |
| Convert the solultion record into a human readable description. | |
Public Attributes | |
| project = project | |
| Parent project. | |
| projectconfigurations = VS2010ProjectConfigurations(project) | |
| VS2010ProjectConfigurations. | |
| globals = VS2010Globals(project) | |
| VS2010Globals. | |
| extensionsettings = VS2010ExtensionSettings(project) | |
| VS2010ExtensionSettings. | |
| propertysheets = VS2010PropertySheets(project) | |
| VS2010PropertySheets. | |
| usermacros = VS2010UserMacros(project) | |
| VS2010UserMacros. | |
| files = VS2010Files(project) | |
| VS2010Files. | |
| extensiontargets = VS2010ExtensionTargets(project) | |
| VS2010ExtensionTargets. | |
| Public Attributes inherited from makeprojects.visual_studio_2010.VS2010XML | |
| name = name | |
| Name of this XML chunk. | |
| list | attributes = [] |
| List of name/data attributes. | |
| list | elements = [] |
| List of elements in this element. | |
| dict | attribute_defaults = {} |
| List of valid attributes and defaults. | |
| contents = contents | |
| String contained in this XML chunk. | |
Visual Studio 2010- formatter.
This record instructs how to write a Visual Studio 2010- format vcproj file
| makeprojects.visual_studio_2010.VS2010vcproj.__init__ | ( | self, | |
| project ) |
Init defaults.
| project | Project record to extract defaults. |
| makeprojects.visual_studio_2010.VS2010vcproj.generate | ( | self, | |
| line_list = None, | |||
| indent = 0, | |||
| ide = None ) |
Write out the VisualStudioProject record.
| line_list | string list to save the XML text |
| indent | Level of indentation to begin with. |
| ide | Version of Visual Studio to build for |
Reimplemented from makeprojects.visual_studio_2010.VS2010XML.