doc/api/python/virtualbuildarea.VirtualProject-class.html
changeset 432 f2ddfa555b0f
equal deleted inserted replaced
431:7685cec9fd3c 432:f2ddfa555b0f
       
     1 <?xml version="1.0" encoding="ascii"?>
       
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       
     3           "DTD/xhtml1-transitional.dtd">
       
     4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       
     5 <head>
       
     6   <title>virtualbuildarea.VirtualProject</title>
       
     7   <link rel="stylesheet" href="epydoc.css" type="text/css" />
       
     8   <script type="text/javascript" src="epydoc.js"></script>
       
     9 </head>
       
    10 
       
    11 <body bgcolor="white" text="black" link="blue" vlink="#204080"
       
    12       alink="#204080">
       
    13 <!-- ==================== NAVIGATION BAR ==================== -->
       
    14 <table class="navbar" border="0" width="100%" cellpadding="0"
       
    15        bgcolor="#a0c0ff" cellspacing="0">
       
    16   <tr valign="middle">
       
    17 
       
    18   <!-- Tree link -->
       
    19       <th>&nbsp;&nbsp;&nbsp;<a
       
    20         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
    21 
       
    22   <!-- Index link -->
       
    23       <th>&nbsp;&nbsp;&nbsp;<a
       
    24         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
    25 
       
    26   <!-- Help link -->
       
    27       <th>&nbsp;&nbsp;&nbsp;<a
       
    28         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
    29 
       
    30       <th class="navbar" width="100%"></th>
       
    31   </tr>
       
    32 </table>
       
    33 <table width="100%" cellpadding="0" cellspacing="0">
       
    34   <tr valign="top">
       
    35     <td width="100%">
       
    36       <span class="breadcrumbs">
       
    37         <a href="virtualbuildarea-module.html">Module&nbsp;virtualbuildarea</a> ::
       
    38         Class&nbsp;VirtualProject
       
    39       </span>
       
    40     </td>
       
    41     <td>
       
    42       <table cellpadding="0" cellspacing="0">
       
    43         <!-- hide/show private -->
       
    44         <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
       
    45     onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
       
    46         <tr><td align="right"><span class="options"
       
    47             >[<a href="frames.html" target="_top">frames</a
       
    48             >]&nbsp;|&nbsp;<a href="virtualbuildarea.VirtualProject-class.html"
       
    49             target="_top">no&nbsp;frames</a>]</span></td></tr>
       
    50       </table>
       
    51     </td>
       
    52   </tr>
       
    53 </table>
       
    54 <!-- ==================== CLASS DESCRIPTION ==================== -->
       
    55 <h1 class="epydoc">Class VirtualProject</h1><span class="codelink"><a href="virtualbuildarea-pysrc.html#VirtualProject">source&nbsp;code</a></span><br /><br />
       
    56 <pre class="base-tree">
       
    57       object --+            
       
    58                |            
       
    59 <a href="ccm.FourPartName-class.html">ccm.FourPartName</a> --+        
       
    60                    |        
       
    61        <a href="ccm.CCMObject-class.html">ccm.CCMObject</a> --+    
       
    62                        |    
       
    63              <a href="ccm.Project-class.html">ccm.Project</a> --+
       
    64                            |
       
    65                           <strong class="uidshort">VirtualProject</strong>
       
    66 </pre>
       
    67 
       
    68 <hr />
       
    69 Create a fake project containing on fake directory.
       
    70 The four part name will be &lt;projectname&gt;-1:project:fakedb#1.<br /><br />
       
    71 
       
    72 <!-- ==================== INSTANCE METHODS ==================== -->
       
    73 <a name="section-InstanceMethods"></a>
       
    74 <table class="summary" border="1" cellpadding="3"
       
    75        cellspacing="0" width="100%" bgcolor="white">
       
    76 <tr bgcolor="#70b0f0" class="table-header">
       
    77   <td colspan="2" class="table-header">
       
    78     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
    79       <tr valign="top">
       
    80         <td align="left"><span class="table-header">Instance Methods</span></td>
       
    81         <td align="right" valign="top"
       
    82          ><span class="options">[<a href="#section-InstanceMethods"
       
    83          class="privatelink" onclick="toggle_private();"
       
    84          >hide private</a>]</span></td>
       
    85       </tr>
       
    86     </table>
       
    87   </td>
       
    88 </tr>
       
    89 <tr>
       
    90     <td width="15%" align="right" valign="top" class="summary">
       
    91       <span class="summary-type">&nbsp;</span>
       
    92     </td><td class="summary">
       
    93       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
    94         <tr>
       
    95           <td><span class="summary-sig"><a href="virtualbuildarea.VirtualProject-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
       
    96         <span class="summary-sig-arg">session</span>,
       
    97         <span class="summary-sig-arg">name</span>)</span><br />
       
    98       Create a FourPartName object based on a ifpn string.</td>
       
    99           <td align="right" valign="top">
       
   100             <span class="codelink"><a href="virtualbuildarea-pysrc.html#VirtualProject.__init__">source&nbsp;code</a></span>
       
   101             
       
   102           </td>
       
   103         </tr>
       
   104       </table>
       
   105       
       
   106     </td>
       
   107   </tr>
       
   108 <tr>
       
   109     <td width="15%" align="right" valign="top" class="summary">
       
   110       <span class="summary-type">&nbsp;</span>
       
   111     </td><td class="summary">
       
   112       <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   113         <tr>
       
   114           <td><span class="summary-sig"><a href="virtualbuildarea.VirtualProject-class.html#root_dir" class="summary-sig-name">root_dir</a>(<span class="summary-sig-arg">self</span>)</span><br />
       
   115       Returns the associated virtual directory object.</td>
       
   116           <td align="right" valign="top">
       
   117             <span class="codelink"><a href="virtualbuildarea-pysrc.html#VirtualProject.root_dir">source&nbsp;code</a></span>
       
   118             
       
   119           </td>
       
   120         </tr>
       
   121       </table>
       
   122       
       
   123     </td>
       
   124   </tr>
       
   125   <tr>
       
   126     <td colspan="2" class="summary">
       
   127     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="ccm.Project-class.html">ccm.Project</a></code></b>:
       
   128       <code><a href="ccm.Project-class.html#add_folder">add_folder</a></code>,
       
   129       <code><a href="ccm.Project-class.html#add_task">add_task</a></code>,
       
   130       <code><a href="ccm.Project-class.html#apply_update_properties">apply_update_properties</a></code>,
       
   131       <code><a href="ccm.Project-class.html#checkout">checkout</a></code>,
       
   132       <code><a href="ccm.Project-class.html#conflicts">conflicts</a></code>,
       
   133       <code><a href="ccm.Project-class.html#create_baseline">create_baseline</a></code>,
       
   134       <code><a href="ccm.Project-class.html#folders">folders</a></code>,
       
   135       <code><a href="ccm.Project-class.html#get_latest_baseline">get_latest_baseline</a></code>,
       
   136       <code><a href="ccm.Project-class.html#get_members">get_members</a></code>,
       
   137       <code><a href="ccm.Project-class.html#reconcile">reconcile</a></code>,
       
   138       <code><a href="ccm.Project-class.html#refresh">refresh</a></code>,
       
   139       <code><a href="ccm.Project-class.html#remove_folder">remove_folder</a></code>,
       
   140       <code><a href="ccm.Project-class.html#remove_task">remove_task</a></code>,
       
   141       <code><a href="ccm.Project-class.html#set_baseline">set_baseline</a></code>,
       
   142       <code><a href="ccm.Project-class.html#set_update_method">set_update_method</a></code>,
       
   143       <code><a href="ccm.Project-class.html#snapshot">snapshot</a></code>,
       
   144       <code><a href="ccm.Project-class.html#subprojects">subprojects</a></code>,
       
   145       <code><a href="ccm.Project-class.html#sync">sync</a></code>,
       
   146       <code><a href="ccm.Project-class.html#tasks">tasks</a></code>,
       
   147       <code><a href="ccm.Project-class.html#update">update</a></code>,
       
   148       <code><a href="ccm.Project-class.html#work_area">work_area</a></code>
       
   149       </p>
       
   150     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="ccm.Project-class.html">ccm.Project</a></code></b> (private):
       
   151       <code><a href="ccm.Project-class.html#_getbaseline">_getbaseline</a></code>,
       
   152       <code><a href="ccm.Project-class.html#_getfolders">_getfolders</a></code>,
       
   153       <code><a href="ccm.Project-class.html#_getrelease">_getrelease</a></code>,
       
   154       <code><a href="ccm.Project-class.html#_getsubprojects">_getsubprojects</a></code>,
       
   155       <code><a href="ccm.Project-class.html#_gettasks">_gettasks</a></code>,
       
   156       <code><a href="ccm.Project-class.html#_setrelease">_setrelease</a></code>
       
   157       </p></div>
       
   158     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="ccm.CCMObject-class.html">ccm.CCMObject</a></code></b>:
       
   159       <code><a href="ccm.CCMObject-class.html#__getitem__">__getitem__</a></code>,
       
   160       <code><a href="ccm.CCMObject-class.html#__setitem__">__setitem__</a></code>,
       
   161       <code><a href="ccm.CCMObject-class.html#create_attribute">create_attribute</a></code>,
       
   162       <code><a href="ccm.CCMObject-class.html#exists">exists</a></code>,
       
   163       <code><a href="ccm.CCMObject-class.html#finduse">finduse</a></code>,
       
   164       <code><a href="ccm.CCMObject-class.html#is_predecessor_of">is_predecessor_of</a></code>,
       
   165       <code><a href="ccm.CCMObject-class.html#is_recursive_predecessor_of">is_recursive_predecessor_of</a></code>,
       
   166       <code><a href="ccm.CCMObject-class.html#is_recursive_predecessor_of_fast">is_recursive_predecessor_of_fast</a></code>,
       
   167       <code><a href="ccm.CCMObject-class.html#is_recursive_successor_of_fast">is_recursive_successor_of_fast</a></code>,
       
   168       <code><a href="ccm.CCMObject-class.html#is_recursive_sucessor_of">is_recursive_sucessor_of</a></code>,
       
   169       <code><a href="ccm.CCMObject-class.html#keys">keys</a></code>,
       
   170       <code><a href="ccm.CCMObject-class.html#predecessors">predecessors</a></code>,
       
   171       <code><a href="ccm.CCMObject-class.html#relate">relate</a></code>,
       
   172       <code><a href="ccm.CCMObject-class.html#session">session</a></code>,
       
   173       <code><a href="ccm.CCMObject-class.html#successors">successors</a></code>
       
   174       </p>
       
   175     <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="ccm.CCMObject-class.html">ccm.CCMObject</a></code></b> (private):
       
   176       <code><a href="ccm.CCMObject-class.html#_getsession">_getsession</a></code>
       
   177       </p></div>
       
   178     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="ccm.FourPartName-class.html">ccm.FourPartName</a></code></b>:
       
   179       <code><a href="ccm.FourPartName-class.html#__eq__">__eq__</a></code>,
       
   180       <code><a href="ccm.FourPartName-class.html#__ne__">__ne__</a></code>,
       
   181       <code><a href="ccm.FourPartName-class.html#__repr__">__repr__</a></code>,
       
   182       <code><a href="ccm.FourPartName-class.html#__str__">__str__</a></code>,
       
   183       <code><a href="ccm.FourPartName-class.html#family">family</a></code>,
       
   184       <code><a href="ccm.FourPartName-class.html#instance">instance</a></code>,
       
   185       <code><a href="ccm.FourPartName-class.html#is_same_family">is_same_family</a></code>,
       
   186       <code><a href="ccm.FourPartName-class.html#name">name</a></code>,
       
   187       <code><a href="ccm.FourPartName-class.html#objectname">objectname</a></code>,
       
   188       <code><a href="ccm.FourPartName-class.html#type">type</a></code>,
       
   189       <code><a href="ccm.FourPartName-class.html#version">version</a></code>
       
   190       </p>
       
   191     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
       
   192       <code>__delattr__</code>,
       
   193       <code>__getattribute__</code>,
       
   194       <code>__hash__</code>,
       
   195       <code>__new__</code>,
       
   196       <code>__reduce__</code>,
       
   197       <code>__reduce_ex__</code>,
       
   198       <code>__setattr__</code>
       
   199       </p>
       
   200     </td>
       
   201   </tr>
       
   202 </table>
       
   203 <!-- ==================== STATIC METHODS ==================== -->
       
   204 <a name="section-StaticMethods"></a>
       
   205 <table class="summary" border="1" cellpadding="3"
       
   206        cellspacing="0" width="100%" bgcolor="white">
       
   207 <tr bgcolor="#70b0f0" class="table-header">
       
   208   <td colspan="2" class="table-header">
       
   209     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   210       <tr valign="top">
       
   211         <td align="left"><span class="table-header">Static Methods</span></td>
       
   212         <td align="right" valign="top"
       
   213          ><span class="options">[<a href="#section-StaticMethods"
       
   214          class="privatelink" onclick="toggle_private();"
       
   215          >hide private</a>]</span></td>
       
   216       </tr>
       
   217     </table>
       
   218   </td>
       
   219 </tr>
       
   220   <tr>
       
   221     <td colspan="2" class="summary">
       
   222     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="ccm.FourPartName-class.html">ccm.FourPartName</a></code></b>:
       
   223       <code><a href="ccm.FourPartName-class.html#convert">convert</a></code>,
       
   224       <code><a href="ccm.FourPartName-class.html#is_valid">is_valid</a></code>
       
   225       </p>
       
   226     </td>
       
   227   </tr>
       
   228 </table>
       
   229 <!-- ==================== CLASS VARIABLES ==================== -->
       
   230 <a name="section-ClassVariables"></a>
       
   231 <table class="summary" border="1" cellpadding="3"
       
   232        cellspacing="0" width="100%" bgcolor="white">
       
   233 <tr bgcolor="#70b0f0" class="table-header">
       
   234   <td colspan="2" class="table-header">
       
   235     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   236       <tr valign="top">
       
   237         <td align="left"><span class="table-header">Class Variables</span></td>
       
   238         <td align="right" valign="top"
       
   239          ><span class="options">[<a href="#section-ClassVariables"
       
   240          class="privatelink" onclick="toggle_private();"
       
   241          >hide private</a>]</span></td>
       
   242       </tr>
       
   243     </table>
       
   244   </td>
       
   245 </tr>
       
   246   <tr>
       
   247     <td colspan="2" class="summary">
       
   248     <p class="indent-wrapped-lines"><b>Inherited from <code><a href="ccm.Project-class.html">ccm.Project</a></code></b>:
       
   249       <code><a href="ccm.Project-class.html#baseline">baseline</a></code>,
       
   250       <code><a href="ccm.Project-class.html#release">release</a></code>
       
   251       </p>
       
   252     </td>
       
   253   </tr>
       
   254 </table>
       
   255 <!-- ==================== PROPERTIES ==================== -->
       
   256 <a name="section-Properties"></a>
       
   257 <table class="summary" border="1" cellpadding="3"
       
   258        cellspacing="0" width="100%" bgcolor="white">
       
   259 <tr bgcolor="#70b0f0" class="table-header">
       
   260   <td colspan="2" class="table-header">
       
   261     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   262       <tr valign="top">
       
   263         <td align="left"><span class="table-header">Properties</span></td>
       
   264         <td align="right" valign="top"
       
   265          ><span class="options">[<a href="#section-Properties"
       
   266          class="privatelink" onclick="toggle_private();"
       
   267          >hide private</a>]</span></td>
       
   268       </tr>
       
   269     </table>
       
   270   </td>
       
   271 </tr>
       
   272   <tr>
       
   273     <td colspan="2" class="summary">
       
   274     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
       
   275       <code>__class__</code>
       
   276       </p>
       
   277     </td>
       
   278   </tr>
       
   279 </table>
       
   280 <!-- ==================== METHOD DETAILS ==================== -->
       
   281 <a name="section-MethodDetails"></a>
       
   282 <table class="details" border="1" cellpadding="3"
       
   283        cellspacing="0" width="100%" bgcolor="white">
       
   284 <tr bgcolor="#70b0f0" class="table-header">
       
   285   <td colspan="2" class="table-header">
       
   286     <table border="0" cellpadding="0" cellspacing="0" width="100%">
       
   287       <tr valign="top">
       
   288         <td align="left"><span class="table-header">Method Details</span></td>
       
   289         <td align="right" valign="top"
       
   290          ><span class="options">[<a href="#section-MethodDetails"
       
   291          class="privatelink" onclick="toggle_private();"
       
   292          >hide private</a>]</span></td>
       
   293       </tr>
       
   294     </table>
       
   295   </td>
       
   296 </tr>
       
   297 </table>
       
   298 <a name="__init__"></a>
       
   299 <div>
       
   300 <table class="details" border="1" cellpadding="3"
       
   301        cellspacing="0" width="100%" bgcolor="white">
       
   302 <tr><td>
       
   303   <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   304   <tr valign="top"><td>
       
   305   <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
       
   306         <span class="sig-arg">session</span>,
       
   307         <span class="sig-arg">name</span>)</span>
       
   308     <br /><em class="fname">(Constructor)</em>
       
   309   </h3>
       
   310   </td><td align="right" valign="top"
       
   311     ><span class="codelink"><a href="virtualbuildarea-pysrc.html#VirtualProject.__init__">source&nbsp;code</a></span>&nbsp;
       
   312     </td>
       
   313   </table>
       
   314   
       
   315   <p>Create a FourPartName object based on a ifpn string.</p>
       
   316 <p>The string have to match the following patterns:
       
   317 - name-version:type:instance
       
   318 - name:version:releasedef:instance
       
   319 - Task database#id
       
   320 - Folder database#id</p>
       
   321 <p>Anything else is considered as old release string format.</p>
       
   322   <dl class="fields">
       
   323     <dt>Overrides:
       
   324       <a href="ccm.Project-class.html#__init__">ccm.Project.__init__</a>
       
   325     </dt>
       
   326   </dl>
       
   327 </td></tr></table>
       
   328 </div>
       
   329 <a name="root_dir"></a>
       
   330 <div>
       
   331 <table class="details" border="1" cellpadding="3"
       
   332        cellspacing="0" width="100%" bgcolor="white">
       
   333 <tr><td>
       
   334   <table width="100%" cellpadding="0" cellspacing="0" border="0">
       
   335   <tr valign="top"><td>
       
   336   <h3 class="epydoc"><span class="sig"><span class="sig-name">root_dir</span>(<span class="sig-arg">self</span>)</span>
       
   337   </h3>
       
   338   </td><td align="right" valign="top"
       
   339     ><span class="codelink"><a href="virtualbuildarea-pysrc.html#VirtualProject.root_dir">source&nbsp;code</a></span>&nbsp;
       
   340     </td>
       
   341   </table>
       
   342   
       
   343   Returns the associated virtual directory object.
       
   344   <dl class="fields">
       
   345     <dt>Overrides:
       
   346       <a href="ccm.Project-class.html#root_dir">ccm.Project.root_dir</a>
       
   347     </dt>
       
   348   </dl>
       
   349 </td></tr></table>
       
   350 </div>
       
   351 <br />
       
   352 <!-- ==================== NAVIGATION BAR ==================== -->
       
   353 <table class="navbar" border="0" width="100%" cellpadding="0"
       
   354        bgcolor="#a0c0ff" cellspacing="0">
       
   355   <tr valign="middle">
       
   356 
       
   357   <!-- Tree link -->
       
   358       <th>&nbsp;&nbsp;&nbsp;<a
       
   359         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
       
   360 
       
   361   <!-- Index link -->
       
   362       <th>&nbsp;&nbsp;&nbsp;<a
       
   363         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
       
   364 
       
   365   <!-- Help link -->
       
   366       <th>&nbsp;&nbsp;&nbsp;<a
       
   367         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
       
   368 
       
   369       <th class="navbar" width="100%"></th>
       
   370   </tr>
       
   371 </table>
       
   372 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
       
   373   <tr>
       
   374     <td align="left" class="footer">
       
   375     Generated by Epydoc 3.0beta1 on Wed Sep 09 13:44:19 2009
       
   376     </td>
       
   377     <td align="right" class="footer">
       
   378       <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
       
   379     </td>
       
   380   </tr>
       
   381 </table>
       
   382 
       
   383 <script type="text/javascript">
       
   384   <!--
       
   385   // Private objects are initially displayed (because if
       
   386   // javascript is turned off then we want them to be
       
   387   // visible); but by default, we want to hide them.  So hide
       
   388   // them unless we have a cookie that says to show them.
       
   389   checkCookie()
       
   390   // -->
       
   391 </script>
       
   392   
       
   393 </body>
       
   394 </html>