Dataset Viewer
code
stringlengths 1
1.05M
| repo_name
stringlengths 6
116
| path
stringlengths 4
995
| language
stringclasses 2
values | license
stringclasses 15
values | size
int64 2
1.05M
|
|---|---|---|---|---|---|
{% extends "admin/change_list.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load i18n %}
{% block object-tools %}
{% origin %}
{% if has_add_permission %}
<ul class="object-tools">
<li><a href="reminder/">SDO Authorized List Reminder</a></li>
<li>
<a href="add/{% if is_popup %}?_popup=1{% endif %}" class="addlink">
{% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}
</a>
</li>
</ul>
{% endif %}
{% endblock %}
|
wpjesus/codematch
|
ietf/templates/admin/group/group/change_list.html
|
HTML
|
bsd-3-clause
| 546
|
button::-moz-focus-inner{ border:0; padding:0; margin:0; }
.easyDialog_wrapper{ overflow:hidden; width:444px; color:#444; border:3px solid rgba(0,0,0,0); -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; -webkit-box-shadow:0 0 10px rgba(0,0,0,0.4); -moz-box-shadow:0 0 10px rgba(0,0,0,0.4); box-shadow:0 0 10px rgba(0,0,0,0.4); display:none; }
.easyDialog_wrapper .easyDialog_content{ -webkit-border-radius:4px; -moz-border-radius:4px; border-radius:4px; background:#fff; border:1px solid #e5e5e5; }
.easyDialog_wrapper .easyDialog_title{ height:30px; line-height:30px; overflow:hidden; color:#666; padding:0 10px; font-size:14px; border-bottom:1px solid #e5e5e5; background:#f7f7f7; border-radius:4px 4px 0 0; }
.easyDialog_wrapper .close_btn{ font-size:18px; _font-size:12px; font-weight:700; color:#999; text-decoration:none; float:right; }
.easyDialog_wrapper .close_btn:hover{ color:#333; }
.easyDialog_wrapper .easyDialog_text{ padding:25px; font-size:13px; line-height:22px; overflow:hidden;}
.easyDialog_wrapper .easyDialog_footer{ padding:0 10px; *zoom:1; }
.easyDialog_wrapper .easyDialog_footer:after{ content:''; display:block; height:0; overflow:hidden; visibility:hidden; clear:both; }
.easyDialog_wrapper .btn_highlight,
.easyDialog_wrapper .btn_normal{ border:1px solid; border-radius:2px; cursor:pointer; float:right; font-size:12px; padding:0 12px; height:24px; line-height:24px; margin-bottom:10px; }
.easyDialog_wrapper .btn_highlight{ background:#4787ed; background:-webkit-gradient(linear,center bottom,center top,from(#4787ed),to(#4d90fe)); background:-moz-linear-gradient(90deg, #4787ed, #4d90fe); border-color:#3079ed; color:#fff; }
.easyDialog_wrapper .btn_normal{ margin-left:10px; border-color:#c3c3c3; background:#ececec; color:#333; background:-webkit-gradient(linear,center bottom,center top,from(#ececec),to(#f4f4f4)); background:-moz-linear-gradient(90deg,#ececec,#f4f4f4); }
|
Letractively/fangtaitong
|
www/css/plugin/easydialog.css
|
CSS
|
bsd-3-clause
| 1,963
|
{% from "devhub/includes/macros.html" import tip, some_html_tip, empty_unless %}
<form method="post" action="{{ url('devhub.addons.section', addon.slug, 'details', 'edit') }}">
<h3>
{{ _('Add-on Details') }}
{% if not editable %}
<a href="#" data-editurl="{{ url('devhub.addons.section', addon.slug, 'details', 'edit') }}" class="button">
{{ _('Edit') }}</a>
{% endif %}
</h3>
<div class="item">
<div class="item_wrapper">
{% if editable %}{{ form.non_field_errors() }}{% endif %}
<table>
<caption>{{ _('Add-on Details for {0}')|fe(addon.name) }}</caption>
<tbody>
<tr>
<th>
<label data-for="description">
{{ _('Description') }}
{{ tip(None,
_("A longer explanation of features,
functionality, and other relevant information. This
field is only displayed on the add-on's details
page.")) }}
</label>
</th>
<td>
{% if editable %}
{{ form.description }}
{{ form.description.errors }}
{{ some_html_tip() }}
{% else %}
{% call empty_unless(addon.description) %}
<div id="addon-description" class="prose">
{{ addon|all_locales('description', nl2br=True) }}
</div>
{% endcall %}
{% endif %}
</td>
</tr>
<tr>
<th>
{{ tip(_("Default Locale"),
_("Information about your add-on is displayed in this locale
unless you override it with a locale-specific translation.")) }}
</th>
<td class="addon_edit_locale">
{% if editable %}
{{ form.default_locale }}
{{ form.default_locale.errors }}
{% else %}
{{ addon.language_ascii() }}
{% endif %}
</td>
</tr>
<tr>
<th>
<label data-for="homepage">
{{ _("Homepage") }}
{{ tip(None,
_("If your add-on has another homepage, enter its
address here. If your website is localized into other
languages multiple translations of this field can be
added.")) }}
</label>
</th>
<td>
{% if editable %}
{{ form.homepage }}
{{ form.homepage.errors }}
{% else %}
{% call empty_unless(addon.homepage) %}
{{ addon|all_locales('homepage') }}
{% endcall %}
{% endif %}
</td>
</tr>
</tbody>
</table>
</div>
{% if editable %}
<div class="listing-footer">
<button>{{ _('Save Changes') }}</button> {{ _('or') }}
<a href="{{ url('devhub.addons.section', addon.slug, 'details') }}"
class="addon-edit-cancel">
{{ _('Cancel') }}</a>
</div>
{% endif %}
</div>
</form>
|
SuriyaaKudoIsc/olympia
|
apps/devhub/templates/devhub/addons/edit/details.html
|
HTML
|
bsd-3-clause
| 3,279
|
<!DOCTYPE html>
<html xmlns:wicket="https://wicket.apache.org">
<body>
<wicket:extend>
<div class="container-fluid">
<form wicket:id="synchForm" role="form">
<button wicket:id="synchronize"></button>
</form>
</div>
</wicket:extend>
</body>
</html>
|
ursjoss/scipamato
|
core/core-web/src/main/java/ch/difty/scipamato/core/web/sync/RefDataSyncPage.html
|
HTML
|
bsd-3-clause
| 312
|
{% load wpf_sidebar_tags %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>{% block page_title %}{{blog_options.blogname}}{% endblock %}</title>
<meta http-equiv="Content-Type" content="text/html; charset={{blog_options.blog_charset}}" />
<link rel="stylesheet" href="{{blog.options.theme_url}}style.css" type="text/css" />
<link rel="alternate" type="application/atom+xml" title="Atom Feed, full entries" href="{% url wpf_feed %}" />
<script type="text/javascript">//<![CDATA[
function search_get() {
var q = document.getElementById('q');
var f = document.getElementById('searchform');
if (!q || !f)
return;
if (!q.value) {
q.className = 'error';
return;
}
location.href = f.action + encodeURIComponent(q.value) + '/';
return false;
}
//]]></script>
{% block extrahead %}{% endblock %}
</head>
<body>
<div id="header">
<h1 id="title">{% block header_title %}<a href="{% url wpf_index %}" title="{{blog.options.blogname|striptags|escape}}">{{blog.options.blogname}}</a>{% endblock %}</h1>
</div>
<div id="page">
<div id="content">
<div class="right meta">
{% wpf_sb_pages %}
{% block sidebar %}
{% endblock %}
<!-- blogroll -->
<h3>powered by</h3>
<ul>
<li><a href="http://wp-frontman.com/">WP Frontman</a> + WP</li>
</ul>
<h3>elsewhere</h3>
<ul>
<li><a href="http://altroformato.it/">altroformato</a></li>
</ul>
<h3>friends</h3>
<ul>
<li><a href="http://arredarecasa-blog.it/">arredare casa</a></li>
</ul>
<h3>copyright</h3>
<ul>
<li>© 2004-2012<br />Ludovico Magnocavallo<br />tutti i diritti riservati</li>
</ul>
</div>
{% block content %}
{% endblock %}
</div>
</div>
</body>
</html>
|
ludoo/wpkit
|
attic/ngfrontman/templates/qix/wp_frontman/base.html
|
HTML
|
bsd-3-clause
| 2,381
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>OpenDPX: Class Members</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li class="current"><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li class="current"><a href="functions.html"><span>All</span></a></li>
<li><a href="functions_func.html"><span>Functions</span></a></li>
<li><a href="functions_vars.html"><span>Variables</span></a></li>
<li><a href="functions_enum.html"><span>Enumerations</span></a></li>
<li><a href="functions_eval.html"><span>Enumerator</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="functions.html#index_a"><span>a</span></a></li>
<li><a href="functions_0x62.html#index_b"><span>b</span></a></li>
<li><a href="functions_0x63.html#index_c"><span>c</span></a></li>
<li><a href="functions_0x64.html#index_d"><span>d</span></a></li>
<li><a href="functions_0x65.html#index_e"><span>e</span></a></li>
<li><a href="functions_0x66.html#index_f"><span>f</span></a></li>
<li><a href="functions_0x67.html#index_g"><span>g</span></a></li>
<li><a href="functions_0x68.html#index_h"><span>h</span></a></li>
<li><a href="functions_0x69.html#index_i"><span>i</span></a></li>
<li><a href="functions_0x6b.html#index_k"><span>k</span></a></li>
<li><a href="functions_0x6c.html#index_l"><span>l</span></a></li>
<li><a href="functions_0x6d.html#index_m"><span>m</span></a></li>
<li><a href="functions_0x6e.html#index_n"><span>n</span></a></li>
<li><a href="functions_0x6f.html#index_o"><span>o</span></a></li>
<li><a href="functions_0x70.html#index_p"><span>p</span></a></li>
<li><a href="functions_0x72.html#index_r"><span>r</span></a></li>
<li><a href="functions_0x73.html#index_s"><span>s</span></a></li>
<li><a href="functions_0x74.html#index_t"><span>t</span></a></li>
<li><a href="functions_0x75.html#index_u"><span>u</span></a></li>
<li><a href="functions_0x76.html#index_v"><span>v</span></a></li>
<li><a href="functions_0x77.html#index_w"><span>w</span></a></li>
<li><a href="functions_0x78.html#index_x"><span>x</span></a></li>
<li><a href="functions_0x79.html#index_y"><span>y</span></a></li>
<li class="current"><a href="functions_0x7a.html#index_z"><span>z</span></a></li>
<li><a href="functions_0x7e.html#index_~"><span>~</span></a></li>
</ul>
</div>
</div>
<div class="contents">
Here is a list of all class members with links to the classes they belong to:
<h3><a class="anchor" id="index_z">- z -</a></h3><ul>
<li>zero
: <a class="el" href="structdpx_1_1_industry_header.html#a64dc279baa1e2bd1d36df6c19da53dd5">dpx::IndustryHeader</a>
</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>
|
inequation/dpx
|
doc/html/functions_0x7a.html
|
HTML
|
bsd-3-clause
| 3,977
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Tue May 01 09:56:12 CEST 2012 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
Uses of Class net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator (PMD 5.0.0 API)
</TITLE>
<META NAME="date" CONTENT="2012-05-01">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Class net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator (PMD 5.0.0 API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/ASTAssignmentOperator.html" title="class in net.sourceforge.pmd.lang.java.ast"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?net/sourceforge/pmd/lang/java/ast//class-useASTAssignmentOperator.html" target="_top"><B>FRAMES</B></A>
<A HREF="ASTAssignmentOperator.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<CENTER>
<H2>
<B>Uses of Class<br>net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator</B></H2>
</CENTER>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
Packages that use <A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/ASTAssignmentOperator.html" title="class in net.sourceforge.pmd.lang.java.ast">ASTAssignmentOperator</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#net.sourceforge.pmd.lang.java.ast"><B>net.sourceforge.pmd.lang.java.ast</B></A></TD>
<TD> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="#net.sourceforge.pmd.lang.java.rule"><B>net.sourceforge.pmd.lang.java.rule</B></A></TD>
<TD> </TD>
</TR>
</TABLE>
<P>
<A NAME="net.sourceforge.pmd.lang.java.ast"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
Uses of <A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/ASTAssignmentOperator.html" title="class in net.sourceforge.pmd.lang.java.ast">ASTAssignmentOperator</A> in <A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/package-summary.html">net.sourceforge.pmd.lang.java.ast</A></FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/package-summary.html">net.sourceforge.pmd.lang.java.ast</A> with parameters of type <A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/ASTAssignmentOperator.html" title="class in net.sourceforge.pmd.lang.java.ast">ASTAssignmentOperator</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B>JavaParserVisitor.</B><B><A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/JavaParserVisitor.html#visit(net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator, java.lang.Object)">visit</A></B>(<A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/ASTAssignmentOperator.html" title="class in net.sourceforge.pmd.lang.java.ast">ASTAssignmentOperator</A> node,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> data)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B>JavaParserVisitorAdapter.</B><B><A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/JavaParserVisitorAdapter.html#visit(net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator, java.lang.Object)">visit</A></B>(<A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/ASTAssignmentOperator.html" title="class in net.sourceforge.pmd.lang.java.ast">ASTAssignmentOperator</A> node,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> data)</CODE>
<BR>
</TD>
</TR>
</TABLE>
<P>
<A NAME="net.sourceforge.pmd.lang.java.rule"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
Uses of <A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/ASTAssignmentOperator.html" title="class in net.sourceforge.pmd.lang.java.ast">ASTAssignmentOperator</A> in <A HREF="../../../../../../../net/sourceforge/pmd/lang/java/rule/package-summary.html">net.sourceforge.pmd.lang.java.rule</A></FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../../../net/sourceforge/pmd/lang/java/rule/package-summary.html">net.sourceforge.pmd.lang.java.rule</A> with parameters of type <A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/ASTAssignmentOperator.html" title="class in net.sourceforge.pmd.lang.java.ast">ASTAssignmentOperator</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
<TD><CODE><B>AbstractJavaRule.</B><B><A HREF="../../../../../../../net/sourceforge/pmd/lang/java/rule/AbstractJavaRule.html#visit(net.sourceforge.pmd.lang.java.ast.ASTAssignmentOperator, java.lang.Object)">visit</A></B>(<A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/ASTAssignmentOperator.html" title="class in net.sourceforge.pmd.lang.java.ast">ASTAssignmentOperator</A> node,
<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> data)</CODE>
<BR>
</TD>
</TR>
</TABLE>
<P>
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../net/sourceforge/pmd/lang/java/ast/ASTAssignmentOperator.html" title="class in net.sourceforge.pmd.lang.java.ast"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../../index.html?net/sourceforge/pmd/lang/java/ast//class-useASTAssignmentOperator.html" target="_top"><B>FRAMES</B></A>
<A HREF="ASTAssignmentOperator.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright © 2002-2012 <a href="http://pmd.sourceforge.net/">InfoEther</a>. All Rights Reserved.
</BODY>
</HTML>
|
daejunpark/jsaf
|
third_party/pmd/docs/apidocs/net/sourceforge/pmd/lang/java/ast/class-use/ASTAssignmentOperator.html
|
HTML
|
bsd-3-clause
| 12,065
|
.ui-pnotify{top:25px;right:25px;position:absolute;height:auto;z-index:9999}html>body>.ui-pnotify{position:fixed}.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:0 2px 10px rgba(50,50,50,.5);-moz-box-shadow:0 2px 10px rgba(50,50,50,.5);box-shadow:0 2px 10px rgba(50,50,50,.5)}.ui-pnotify-container{background-position:0 0;padding:.8em;height:100%;margin:0}.ui-pnotify-sharp{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-title{display:block;margin-bottom:.4em;margin-top:0}.ui-pnotify-text{display:block}.ui-pnotify-icon,.ui-pnotify-icon span{display:block;float:left;margin-right:.2em}.ui-pnotify.stack-bottomleft,.ui-pnotify.stack-topleft{left:25px;right:auto}.ui-pnotify.stack-bottomleft,.ui-pnotify.stack-bottomright{bottom:25px;top:auto}
.alert {
padding: 15px;
margin-bottom: 20px;
border: 1px solid transparent;
border-radius: 4px;
margin: 0;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
color: #333333;
background-color: #ffffff;
}
.alert h4 {
margin-top: 0;
color: inherit;
font-size: 17.5px;
}
.alert .alert-link {
font-weight: bold;
}
.alert > p,
.alert > ul {
margin-bottom: 0;
}
.alert > p + p {
margin-top: 5px;
}
.alert-dismissable,
.alert-dismissible {
padding-right: 35px;
}
.alert-dismissable .close,
.alert-dismissible .close {
position: relative;
top: -2px;
right: -21px;
color: inherit;
}
.alert-success {
color: #3c763d;
background-color: #dff0d8;
border-color: #d6e9c6;
}
.alert-success hr {
border-top-color: #c9e2b3;
}
.alert-success .alert-link {
color: #2b542c;
}
.alert-info {
color: #31708f;
background-color: #d9edf7;
border-color: #bce8f1;
}
.alert-info hr {
border-top-color: #a6e1ec;
}
.alert-info .alert-link {
color: #245269;
}
.alert-warning {
color: #8a6d3b;
background-color: #fcf8e3;
border-color: #faebcc;
}
.alert-warning hr {
border-top-color: #f7e1b5;
}
.alert-warning .alert-link {
color: #66512c;
}
.alert-danger {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
.alert-danger hr {
border-top-color: #e4b9c0;
}
.alert-danger .alert-link {
color: #843534;
}
|
pioto/dandelion
|
dandelion-core/src/main/resources/META-INF/resources/ddl-debugger/css/pnotify.custom.min.css
|
CSS
|
bsd-3-clause
| 2,185
|
<!DOCTYPE html>
<!--
Copyright (c) 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<link rel="import" href="/extras/importer/trace2html_importer.html">
<script>
'use strict';
tv.b.unittest.testSuite(function() { // @suppress longLineCheck
test('simple', function() {
var html_lines = [
'<!DOCTYPE HTML>',
'<script id="viewer-data" type="application/json">',
btoa('hello'),
'<\/script>',
'<script id="viewer-data" type="application/json">',
btoa('world'),
'<\/script>',
'</html>'
];
var html_text = html_lines.join('\n');
assert.isTrue(tv.e.importer.Trace2HTMLImporter.canImport(html_text));
var m = new tv.c.TraceModel();
var imp = new tv.e.importer.Trace2HTMLImporter(m, html_text);
var subTracesAsBuffers = imp.extractSubtraces();
var subTracesAsStrings = subTracesAsBuffers.map(function(buffer) {
var str = '';
var ary = new Uint8Array(buffer);
for (var i = 0; i < ary.length; i++)
str += String.fromCharCode(ary[i]);
return str;
});
assert.deepEqual(subTracesAsStrings, ['hello', 'world']);
});
});
</script>
|
vmpstr/trace-viewer
|
trace_viewer/extras/importer/trace2html_importer_test.html
|
HTML
|
bsd-3-clause
| 1,243
|
<html><head>
<title>flibs/m_vfile - flibs </title>
</head>
<! -- Generated from file 'filedir/m_vfile.man' by tcllib/doctools with format 'html'
-->
<! -- Copyright © 2008 Michael Baudin [email protected] -- Copyright © 2008 Arjen Markus [email protected]
-->
<! -- CVS: $Id: m_vfile.html,v 1.2 2008/06/16 13:45:33 relaxmike Exp $ flibs/m_vfile.n
-->
<body>
<h1> flibs/m_vfile(n) 1.0 "flibs"</h1>
<h2><a name="name">NAME</a></h2>
<p>
<p> flibs/m_vfile - Processing files
<h2><a name="table_of_contents">TABLE OF CONTENTS</a></h2>
<p> <a href="#table_of_contents">TABLE OF CONTENTS</a><br>
<a href="#synopsis">SYNOPSIS</a><br>
<a href="#description">DESCRIPTION</a><br>
<a href="#overview">OVERVIEW</a><br>
<a href="#portability">Portability</a><br>
<a href="#how_to_use_it">How to use it</a><br>
<a href="#error_management">Error management</a><br>
<a href="#intel_fortran_portability">Intel Fortran portability</a><br>
<a href="#rename_and_getcwd_fortran_extension">RENAME and GETCWD fortran extension</a><br>
<a href="#dynamic_or_static_buffer">Dynamic or static buffer</a><br>
<a href="#preprocessing">Preprocessing</a><br>
<a href="#example_of_compiler_settings">Example of compiler settings</a><br>
<a href="#methods">METHODS</a><br>
<a href="#static_methods">STATIC METHODS</a><br>
<a href="#copyright">COPYRIGHT</a><br>
<h2><a name="synopsis">SYNOPSIS</a></h2>
<p>
<table border=1 width=100% cellspacing=0 cellpadding=0><tr bgcolor=lightyellow><td bgcolor=lightyellow><table 0 width=100% cellspacing=0 cellpadding=0><tr valign=top ><td ><a href="#1"><strong>vfile_rootname</strong> ( <i class='arg'>filename</i>) result ( rootname )</a></td></tr>
<tr valign=top ><td ><a href="#2"><strong>vfile_rootname</strong> ( <i class='arg'>filename</i>) result ( rootname )</a></td></tr>
<tr valign=top ><td ><a href="#3"><strong>vfile_extension</strong> ( <i class='arg'>filename</i>) result ( extension )</a></td></tr>
<tr valign=top ><td ><a href="#4"><strong>vfile_extension</strong> ( <i class='arg'>filename</i>) result ( extension )</a></td></tr>
<tr valign=top ><td ><a href="#5"><strong>vfile_tail</strong> ( <i class='arg'>filename</i>) result ( filetail )</a></td></tr>
<tr valign=top ><td ><a href="#6"><strong>vfile_tail</strong> ( <i class='arg'>filename</i>) result ( filetail )</a></td></tr>
<tr valign=top ><td ><a href="#7"><strong>vfile_dirname</strong> ( <i class='arg'>filename</i>) result ( dirname )</a></td></tr>
<tr valign=top ><td ><a href="#8"><strong>vfile_dirname</strong> ( <i class='arg'>filename</i>) result ( dirname )</a></td></tr>
<tr valign=top ><td ><a href="#9"><strong>vfile_first_separator_index</strong> ( <i class='arg'>filename</i>) result ( sepindex )</a></td></tr>
<tr valign=top ><td ><a href="#10"><strong>vfile_first_separator_index</strong> ( <i class='arg'>filename</i>) result ( sepindex )</a></td></tr>
<tr valign=top ><td ><a href="#11"><strong>vfile_last_separator_index</strong> ( <i class='arg'>filename</i>) result ( sepindex )</a></td></tr>
<tr valign=top ><td ><a href="#12"><strong>vfile_last_separator_index</strong> ( <i class='arg'>filename</i>) result ( sepindex )</a></td></tr>
<tr valign=top ><td ><a href="#13"><strong>vfile_join</strong> ( <i class='arg'>dirname</i> <i class='arg'>filename</i>) result ( fullname )</a></td></tr>
<tr valign=top ><td ><a href="#14"><strong>vfile_join</strong> ( <i class='arg'>dirname</i> <i class='arg'>, filename</i>) result ( fullname )</a></td></tr>
<tr valign=top ><td ><a href="#15"><strong>vfile_add_extension</strong> ( <i class='arg'>filename</i> <i class='arg'>, extension</i> ) result ( newname )</a></td></tr>
<tr valign=top ><td ><a href="#16"><strong>vfile_separator</strong> ( ) result ( separator )</a></td></tr>
<tr valign=top ><td ><a href="#17"><strong>vfile_pwd</strong> ( <i class='arg'>pwd</i> ?, status? )</a></td></tr>
<tr valign=top ><td ><a href="#18"><strong>vfile_exists</strong> ( <i class='arg'>filename</i> ) result ( exists )</a></td></tr>
<tr valign=top ><td ><a href="#19"><strong>vfile_exists</strong> ( <i class='arg'>filename</i> ) result ( exists )</a></td></tr>
<tr valign=top ><td ><a href="#20"><strong>vfile_rename</strong> ( <i class='arg'>filename</i> <i class='arg'>, newfn</i> ?, status? )</a></td></tr>
<tr valign=top ><td ><a href="#21"><strong>vfile_rename</strong> ( <i class='arg'>filename</i> <i class='arg'>, newfn</i> ?, status? )</a></td></tr>
<tr valign=top ><td ><a href="#22"><strong>vfile_copy</strong> ( <i class='arg'>filename</i> <i class='arg'>, targetfn</i> ?, status? ?, mode? ?, force? ?, trimline? )</a></td></tr>
<tr valign=top ><td ><a href="#23"><strong>vfile_copy</strong> ( <i class='arg'>filename</i> <i class='arg'>, targetfn</i> ?, status? ?, mode? ?, force? ?, trimline? )</a></td></tr>
<tr valign=top ><td ><a href="#24"><strong>vfile_delete</strong> ( <i class='arg'>filename</i> ?, force? ?, status? )</a></td></tr>
<tr valign=top ><td ><a href="#25"><strong>vfile_delete</strong> ( <i class='arg'>filename</i> ?, force? ?, status? )</a></td></tr>
<tr valign=top ><td ><a href="#26"><strong>vfile_isdirectory</strong> ( <i class='arg'>filename</i>) result ( isdirectory )</a></td></tr>
<tr valign=top ><td ><a href="#27"><strong>vfile_isdirectory</strong> ( <i class='arg'>filename</i>) result ( isdirectory )</a></td></tr>
<tr valign=top ><td ><a href="#28"><strong>vfile_isfile</strong> ( <i class='arg'>filename</i>) result ( isfile )</a></td></tr>
<tr valign=top ><td ><a href="#29"><strong>vfile_isfile</strong> ( <i class='arg'>filename</i>) result ( isfile )</a></td></tr>
<tr valign=top ><td ><a href="#30"><strong>vfile_size</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_size )</a></td></tr>
<tr valign=top ><td ><a href="#31"><strong>vfile_size</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_size )</a></td></tr>
<tr valign=top ><td ><a href="#32"><strong>vfile_atime</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_atime )</a></td></tr>
<tr valign=top ><td ><a href="#33"><strong>vfile_atime</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_atime )</a></td></tr>
<tr valign=top ><td ><a href="#34"><strong>vfile_mtime</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_mtime )</a></td></tr>
<tr valign=top ><td ><a href="#35"><strong>vfile_mtime</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_mtime )</a></td></tr>
<tr valign=top ><td ><a href="#36"><strong>vfile_normalize</strong> ( <i class='arg'>filename</i> ) result ( vfile_normalize )</a></td></tr>
<tr valign=top ><td ><a href="#37"><strong>vfile_normalize</strong> ( <i class='arg'>filename</i> ) result ( vfile_normalize )</a></td></tr>
<tr valign=top ><td ><a href="#38"><strong>vfile_find</strong> ( ?basedir? ) result ( listOfFiles )</a></td></tr>
<tr valign=top ><td ><a href="#39"><strong>vfile_find</strong> ( <i class='arg'>basedir</i> ) result ( listOfFiles )</a></td></tr>
<tr valign=top ><td ><a href="#40"><strong>vfile_find</strong> ( ?basedir? <i class='arg'>, filtercmd</i> ) result ( listOfFiles )</a></td></tr>
<tr valign=top ><td ><a href="#41"><strong>vfile_find</strong> ( <i class='arg'>basedir</i> <i class='arg'>, filtercmd</i> ) result ( listOfFiles )</a></td></tr>
<tr valign=top ><td ><a href="#42"><strong>vfile_findbypattern</strong> ( ?basedir? <i class='arg'>, pattern</i> ) result ( listOfFiles )</a></td></tr>
<tr valign=top ><td ><a href="#43"><strong>vfile_findbypattern</strong> ( ?basedir? <i class='arg'>, pattern</i> ) result ( listOfFiles )</a></td></tr>
<tr valign=top ><td ><a href="#44"><strong>vfile_listfiles</strong> ( ?directory? ?, filetypes? ?, pattern? ?, tails?) result ( listOfFiles )</a></td></tr>
<tr valign=top ><td ><a href="#45"><strong>vfile_listfiles</strong> ( <i class='arg'>directory</i> ?, filetypes? ?, pattern? ?, tails?) result ( listOfFiles )</a></td></tr>
<tr valign=top ><td ><a href="#46"><strong>vfile_type</strong> ( <i class='arg'>filename</i> ?, status?) result ( filetype )</a></td></tr>
<tr valign=top ><td ><a href="#47"><strong>vfile_type</strong> ( <i class='arg'>filename</i> ?, status?) result ( filetype )</a></td></tr>
<tr valign=top ><td ><a href="#48"><strong>vfile_split</strong> ( <i class='arg'>filename</i>) result ( listOfComponents )</a></td></tr>
<tr valign=top ><td ><a href="#49"><strong>vfile_split</strong> ( <i class='arg'>filename</i>) result ( listOfComponents )</a></td></tr>
<tr valign=top ><td ><a href="#50"><strong>vfile_touch</strong> ( <i class='arg'>filename</i> ?, status?)</a></td></tr>
<tr valign=top ><td ><a href="#51"><strong>vfile_touch</strong> ( <i class='arg'>filename</i> ?, status?)</a></td></tr>
<tr valign=top ><td ><a href="#52"><strong>vfile_pathtype</strong> ( <i class='arg'>filename</i>) result ( pathtype )</a></td></tr>
<tr valign=top ><td ><a href="#53"><strong>vfile_pathtype</strong> ( <i class='arg'>filename</i>) result ( pathtype )</a></td></tr>
<tr valign=top ><td ><a href="#54"><strong>vfile_nativename</strong> ( <i class='arg'>filename</i>) result ( nativename )</a></td></tr>
<tr valign=top ><td ><a href="#55"><strong>vfile_nativename</strong> ( <i class='arg'>filename</i>) result ( nativename )</a></td></tr>
<tr valign=top ><td ><a href="#56"><strong>vfile_mkdir</strong> ( <i class='arg'>filename</i> ?, status?)</a></td></tr>
<tr valign=top ><td ><a href="#57"><strong>vfile_mkdir</strong> ( <i class='arg'>filename</i> ?, status?)</a></td></tr>
<tr valign=top ><td ><a href="#58"><strong>vfile_open</strong> ( <i class='arg'>filename</i> ?, fileunit? ?, iostat? ?, status? ?, access? ?, form? ?, recl? ?, blank? ?, position? ?, action? ?, delim? ?, pad?) result ( fileunit_real )</a></td></tr>
<tr valign=top ><td ><a href="#59"><strong>vfile_open</strong> ( <i class='arg'>filename</i> ?, fileunit? ?, iostat? ?, status? ?, access? ?, form? ?, recl? ?, blank? ?, position? ?, action? ?, delim? ?, pad?) result ( fileunit_real )</a></td></tr>
<tr valign=top ><td ><a href="#60"><strong>vfile_startup</strong> ()</a></td></tr>
<tr valign=top ><td ><a href="#61"><strong>vfile_shutdown</strong> ()</a></td></tr>
<tr valign=top ><td ><a href="#62"><strong>vfile_set_stoponerror</strong> ( <i class='arg'>stoponerror</i> )</a></td></tr>
<tr valign=top ><td ><a href="#63"><strong>vfile_tempdir</strong> () result ( tempdir )</a></td></tr>
<tr valign=top ><td ><a href="#64"><strong>vfile_tempfile</strong> result ( tempfile )</a></td></tr>
<tr valign=top ><td ><a href="#65"><strong>vfile_volumes</strong> result ( listofvolumes )</a></td></tr>
</table></td></tr></table>
<h2><a name="description">DESCRIPTION</a></h2>
<p>
The module <em>m_vfile</em> provides OO services to process files and directories.
This component is based on a dynamic strings so that the
file or directory name may be defined with no limit in the
number of characters.
<h2><a name="overview">OVERVIEW</a></h2>
<p>
This component allows to manage the file system, by providing
services to create, move and destroy files and directories, and
to get informations about files and directories.
The services provided are based either on standard fortran,
or on fortran extensions.
<h3><a name="portability">Portability</a></h3>
<p>
One of the main interest of this component is to separate
the client-side application from platform-specific file
management or from compiler-specific fortran extensions.
<p>
This separation is possible because m_vfile
deals for the platform directly, by using the m_platform
module. This allows to design a client source code which
portable on several operating systems (for example windows,
linux) without any change. For example, the several file
separators used on the various operating systems are taken
into account internally : "/" on linux systems, "\" on
windows systems and ":" on Mac OS.
<p>
The portability is also ensured with respect to the
fortran compiler used to create the executable.
All fortran compilers provide commands to rename the files
or get the working directory. But not all fortran compilers
define these commands the same way : some provide subroutines,
some provide functions, etc... The current component can
be configured at compile-time with pre-processing commands.
This allows to configure the component with compiler
specific settings, to make so that the component know
what features your particular compiler knows about.
<p>
<your application> > m_vfile (operating system , fortran compiler) > m_platform (operating system , fortran compiler)
<h3><a name="how_to_use_it">How to use it</a></h3>
<p>
Before using the services provided by m_vfile, the client
code must call vfile_startup which initializes platform-specific
commands. After using these services, the client code should call
vfile_shutdown.
<p>
The commands vfile_delete, vfile_copy, vfile_rename
allow to delete, copy and rename files or directories.
To inquire about a file or directory, one can use
vfile_exists or vfile_isdirectory.
<p>
In the following example, one creates a new file with vfile_touch,
rename that file and finally delete it.
<p><table><tr><td bgcolor=black> </td><td><pre class='sample'>
call vfile_startup ()
call vstring_new ( file , "foo.txt" )
call vfile_touch ( file )
call vfile_rename ( file , "toto.txt" )
call vfile_delete ( file )
call vstring_free ( file )
call vfile_shutdown ()
</pre></td></tr></table></p>
<p>
The component makes no differences between file names
and directory names, except for methods which are specific
for file or for directory.
<p>
The vfile_separator method returns the platform-specific character
used on the current operating system.
<p>
The commands vfile_nativename , vfile_normalize , vfile_pathtype
provide ways to manage file names and paths.
The vfile_nativename function returns the platform-specific name of the file.
The vfile_pathtype command returns one of VFILE_PATHTYPE_ABSOLUTE,
VFILE_PATHTYPE_RELATIVE, VFILE_PATHTYPE_VOLUMERELATIVE which correspond to
the current file. The VFILE_PATHTYPE_VOLUMERELATIVE only exist on
windows. The vfile_normalize command returns a unique normalized
path representation for the file-system object (file, directory, link,
etc), whose string value can be used as a unique identifier for it.
<p>
The vfile_split and vfile_join services allows to separate
or concatenate the components of a file. This can be useful
when dealing with relative file or directories.
The vfile_split command splits a file into pieces each time
the platform-specific separator is found.
The vfile_join command concatenate a list of strings with
the platform-specific separator and returns the concatenated
file name.
<p>
In the following example, extracted from the unit tests included in flibs,
the file "declaration.txt" is first normalized, so that the normalized
dynamic string may have the value
"/home/bill/flibs/tests/filedir/declaration.txt" under Windows
or "C:/workbench/flibs/tests/filedir/declaration.txt" under Linux.
Then the file name is split into a list of strings, for example "home",
"bill", "flibs", "tests", "filedir", "declaration.txt".
The number of strings in the list is then computed with the method
vstrlist_length.
<p><table><tr><td bgcolor=black> </td><td><pre class='sample'>
use m_vstring
use m_vstringlist
use m_vfile
type ( t_vstring ) :: normalized
type ( t_vstringlist ) :: listOfFiles
integer :: numberOfStrings
normalized = vfile_normalize ( "declaration.txt" )
listOfFiles = vfile_split ( normalized )
numberOfStrings = vstrlist_length ( listOfFiles )
</pre></td></tr></table></p>
<p>
One particularly useful command when dealing with files is
vfile_findbypattern. The command takes a string as an input
file pattern. It then computes the list of all files which
match that pattern. The string matching system is based on
the vstring_match method of the m_vstring module.
<p>
In the following example, extracted again from the unit tests
of flibs, one computes the list of files in the directory "testfindbypattern"
matching the pattern "*dec*.txt".
<p><table><tr><td bgcolor=black> </td><td><pre class='sample'>
type ( t_vstringlist ) :: listOfFiles
listOfFiles = vfile_findbypattern ( "testfindbypattern" , pattern = "*dec*.txt" )
</pre></td></tr></table></p>
<h3><a name="error_management">Error management</a></h3>
<p>
The file management may raise errors, for example when the
user want to rename a file which does not exist.
Many of the provided commands have an optional integer output
argument "status" which is zero when no error occurred
and non-zero in case of error.
If the status argument is not provided and an error is generated,
then the program stops and a message is displayed on standard
output.
These are the public error flags that the current component may generate :
<p><table><tr><td bgcolor=black> </td><td><pre class='sample'>
VFILE_ERROR_OK
VFILE_ERROR_UNABLE_TO_OPEN_SOURCE
VFILE_ERROR_UNABLE_TO_OPEN_TARGET
VFILE_ERROR_UNABLE_TO_WRITE_TARGET
VFILE_ERROR_SOURCE_FILE_DOES_NOT_EXIST
</pre></td></tr></table></p>
<h3><a name="intel_fortran_portability">Intel Fortran portability</a></h3>
<p>
Several methods of this component are based on Fortran extensions,
which requires compiler-specific settings.
For Intel Fortran compiler, the current implementation was based on
IFPORT.F90 file in the Intel release for details on the interfaces provided.
If the client code use these routines, it must define the pre-processing
macro _VFILE_INTEL_FORTRAN_PORTABILITY_ROUTINES
<h3><a name="rename_and_getcwd_fortran_extension">RENAME and GETCWD fortran extension</a></h3>
<p>
Depending on the compiler, the "RENAME" fortran extension is
provided as a subroutine or a function.
For example, this is a short list of compilers and their particular
RENAME provided :
<ul>
<li> function : Intel Fortran, g95
<br><br>
<li> subroutine : gfortran
</ul>
To inform the m_vfile module of the particular RENAME extension,
one of the following pre-processing macro must be defined :
<ul>
<li> _VFILE_RENAME_FUNCTION
<br><br>
<li> _VFILE_RENAME_SUBROUTINE
</ul>
<p>
The same situation happens with the GETCWD fortran extension.
To inform the m_vfile module of the particular GETCWD extension,
one of the following pre-processing macro must be defined :
<ul>
<li> _VFILE_GETCWD_FUNCTION
<br><br>
<li> _VFILE_GETCWD_SUBROUTINE
</ul>
<h3><a name="dynamic_or_static_buffer">Dynamic or static buffer</a></h3>
<p>
The internal algorithms provided by m_vstrings are based on
basic fortran character strings. In several situations, the
dynamic vstring has to be converted into a basic fortran character
buffer string, which size has to be given explicitly in the source
code, with "character ( len = <something>)" statement.
Two solutions are provided, and the user can define the pre-processing macro
_VFILE_STATIC_BUFFER to configure that :
<ul>
<li> the first solution is to set the size of the buffer statically,
to a constant integer value VSTRING_BUFFER_SIZE.
<br><br>
<li> the second solution is to compute the size
of the buffer dynamically, with the fortran 90 len = vstring_length(this)
statement.
</ul>
If the _VFILE_STATIC_BUFFER is defined, then character strings of
constant size are used as buffers.
If the _VFILE_STATIC_BUFFER is not defined (which is the default),
then character strings of dynamic size are used as buffers.
The second solution is more efficient, because the strings are not
oversized or undersized, depending on the real number of characters
in the dynamic string. But the feature may not be provided
by the compiler at hand. For example, problems with the dynamic
length character string have been experienced with Intel Fortran 8.
<h3><a name="preprocessing">Preprocessing</a></h3>
<p>
The following preprocessing macro must be considered :
<ul>
<li> _VFILE_STATIC_BUFFER : see the section "Dynamic or static buffer"
<br><br>
<li> _VFILE_RENAME_FUNCTION or _VFILE_RENAME_SUBROUTINE : see the section "RENAME and GETCWD fortran extension"
<br><br>
<li> _VFILE_GETCWD_FUNCTION or _VFILE_GETCWD_SUBROUTINE : see the section "RENAME and GETCWD fortran extension"
</ul>
<h3><a name="example_of_compiler_settings">Example of compiler settings</a></h3>
<p>
This is an abstract of all macros for several compilers.
<p>
Compiler : <em>Intel Fortran V8.0</em>
<ul>
<li> _VFILE_INTEL_FORTRAN_PORTABILITY_ROUTINES
<br><br>
<li> _VFILE_RENAME_FUNCTION
<br><br>
<li> _VFILE_STATIC_BUFFER
<br><br>
<li> _VFILE_GETCWD_FUNCTION
</ul>
<p>
Compiler : <em>g95</em>
<ul>
<li> _VFILE_RENAME_FUNCTION
<br><br>
<li> _VFILE_GETCWD_FUNCTION
</ul>
<p>
Compiler : <em>gfortran</em>
<ul>
<li> _VFILE_RENAME_SUBROUTINE
<br><br>
<li> _VFILE_GETCWD_SUBROUTINE
</ul>
<h2><a name="methods">METHODS</a></h2>
<p>
<dl>
<dt><a name="1"><strong>vfile_rootname</strong> ( <i class='arg'>filename</i>) result ( rootname )</a><dd>
<dl>
<dt><strong>type ( t_vstring ) , intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>rootname</i><dd>
</dl>
Returns the name without the extension (if any), that is,
The part of the name _before_ the last "." in <i class='arg'>filename</i> or the whole name
if no "." is present in <i class='arg'>filename</i>.
Example : if filename is "declaration.txt", the file root name is "declaration".
<br><br>
<dt><a name="2"><strong>vfile_rootname</strong> ( <i class='arg'>filename</i>) result ( rootname )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>rootname</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="3"><strong>vfile_extension</strong> ( <i class='arg'>filename</i>) result ( extension )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>extension</i><dd>
</dl>
Returns the extension (if any), that is the part of the name
<em>after</em> and including the last "." or empty if none
present. Example : if filename is "declaration.txt", the file extension is ".txt".
<br><br>
<dt><a name="4"><strong>vfile_extension</strong> ( <i class='arg'>filename</i>) result ( extension )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>extension</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="5"><strong>vfile_tail</strong> ( <i class='arg'>filename</i>) result ( filetail )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>filetail</i><dd>
</dl>
Returns all of the characters in name after the last directory separator.
If <i class='arg'>filename</i> contains no separators then returns <i class='arg'>filename</i>.
Example : if filename is "dir1/declaration.txt", the file tail is "declaration.txt".
<br><br>
<dt><a name="6"><strong>vfile_tail</strong> ( <i class='arg'>filename</i>) result ( filetail )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>filetail</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="7"><strong>vfile_dirname</strong> ( <i class='arg'>filename</i>) result ( dirname )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>dirname</i><dd>
</dl>
Return the directory, that is, the part of the name <em>before</em>
the last directory separator.
Example : if filename is "dir1/declaration.txt", the directory name
is "dir1".
<br><br>
<dt><a name="8"><strong>vfile_dirname</strong> ( <i class='arg'>filename</i>) result ( dirname )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>dirname</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="9"><strong>vfile_first_separator_index</strong> ( <i class='arg'>filename</i>) result ( sepindex )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>sepindex</i><dd>
</dl>
Returns the index of the first separator in the given filename
or 0 if there is no separator in the given file name.
<br><br>
<dt><a name="10"><strong>vfile_first_separator_index</strong> ( <i class='arg'>filename</i>) result ( sepindex )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>sepindex</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="11"><strong>vfile_last_separator_index</strong> ( <i class='arg'>filename</i>) result ( sepindex )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>sepindex</i><dd>
</dl>
Returns the index of the last separator in the given filename
or 0 if there is no separator in the given file name.
<br><br>
<dt><a name="12"><strong>vfile_last_separator_index</strong> ( <i class='arg'>filename</i>) result ( sepindex )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>sepindex</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="13"><strong>vfile_join</strong> ( <i class='arg'>dirname</i> <i class='arg'>filename</i>) result ( fullname )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>dirname</i><dd>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>fullname</i><dd>
</dl>
Join the current file with the given file name,
using the platform-specific separator as the joining character.
The result is always canonical for the current platform: / for
Unix and Windows, and : for Macintosh.
If a particular name is relative, then it will be joined to the previous
file name argument. Otherwise, any earlier arguments will be discarded,
and joining will proceed from the current argument.
<br><br>
<dt><a name="14"><strong>vfile_join</strong> ( <i class='arg'>dirname</i> <i class='arg'>, filename</i>) result ( fullname )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>dirname</i><dd>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>fullname</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="15"><strong>vfile_add_extension</strong> ( <i class='arg'>filename</i> <i class='arg'>, extension</i> ) result ( newname )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>extension</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>newname</i><dd>
</dl>
Return a new file name with the given extension concatenated.
If the given file name ends with a dot and the given extension begins
with a dot, only one dot is kept.
Note that the extension of one file begins with a dot : ".txt" is a file
extension while "txt" is not.
<br><br>
<dt><a name="16"><strong>vfile_separator</strong> ( ) result ( separator )</a><dd>
<dl>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>separator</i><dd>
</dl>
Return the native separator for the current platform
The separator depends on the platform :
<br><br>
<ul>
<li> "/" on Unix, Linux systems,
<br><br>
<li> "\" on Windows systems,
<br><br>
<li> ":" on Macintosh.
</ul>
<dt><a name="17"><strong>vfile_pwd</strong> ( <i class='arg'>pwd</i> ?, status? )</a><dd>
<dl>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>pwd</i><dd>
<dt><strong>integer , intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
</dl>
Returns the name of the current directory by using the fortran
extension GETCWD.
The separator used here is the platform-independent "/".
<br><br>
<dt><a name="18"><strong>vfile_exists</strong> ( <i class='arg'>filename</i> ) result ( exists )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>logical ::</strong> <i class='arg'>exists</i><dd>
</dl>
Returns .true. if file name exists, .false. otherwise.
<br><br>
<dt><a name="19"><strong>vfile_exists</strong> ( <i class='arg'>filename</i> ) result ( exists )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>logical ::</strong> <i class='arg'>exists</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="20"><strong>vfile_rename</strong> ( <i class='arg'>filename</i> <i class='arg'>, newfn</i> ?, status? )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>newfn</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
</dl>
Renames the file ofdln to newfn by using the RENAME fortran extension.
If <i class='arg'>status</i> is supplied, it contains 0 on success or nonzero error code
upon return.
<br><br>
<dt><a name="21"><strong>vfile_rename</strong> ( <i class='arg'>filename</i> <i class='arg'>, newfn</i> ?, status? )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>newfn</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
</dl>
Same as previous but with <i class='arg'>newfn</i> as a character string.
<br><br>
<dt><a name="22"><strong>vfile_copy</strong> ( <i class='arg'>filename</i> <i class='arg'>, targetfn</i> ?, status? ?, mode? ?, force? ?, trimline? )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>targetfn</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>character(len=*), intent(in), optional ::</strong> <i class='arg'>mode</i><dd>
<dt><strong>logical, intent(in) , optional ::</strong> <i class='arg'>force</i><dd>
<dt><strong>logical, intent(in) , optional ::</strong> <i class='arg'>trimline</i><dd>
</dl>
Copy the ascii file ofdln to targetfn.
If the source file does not exists, generates an error.
If the target file allready exists and force option is undefined
or defined to false, generates an error.
If <i class='arg'>status</i> is supplied, it contains 0 on success or nonzero error code
upon return
<br><br>
<ul>
<li> status = 1 when one was unable to open the source file
<br><br>
<li> status = 2 when one was unable to open the target file
<br><br>
<li> status = 3 when there was a problem while writing the target file
<br><br>
<li> status = 4 when the source file does not exist
</ul>
If <i class='arg'>mode</i> is not supplied or supplied and equals to "system", then
the copy is made using an operating system command.
If <i class='arg'>mode</i> is supplied and equals to "ascii", then the copy is made using standard
fortran.
The <i class='arg'>force</i> option is available only in "ascii" mode.
If <i class='arg'>force</i> is supplied and true, if the target file allready exists, delete it before
making the copy.
The <i class='arg'>trimline</i> option is available only in "ascii" mode.
If <i class='arg'>trimline</i> is supplied and true, or not supplied, the lines of
the file copy are trimmed.
If <i class='arg'>trimline</i> is supplied and false, the number of columns in the file copy are all
of maximum possible length.
<br><br>
The "ascii" mode may not behave as expected :
<br><br>
<ul>
<li> The maximum number of columns in the source filename is 1000.
<br><br>
<li> After execution, the target file is not an exact copy of the source file.
Because of the fortran format used, all the lines of the target file are of length 1000 :
blank spaces are appended at the end of the string.
</ul>
<dt><a name="23"><strong>vfile_copy</strong> ( <i class='arg'>filename</i> <i class='arg'>, targetfn</i> ?, status? ?, mode? ?, force? ?, trimline? )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>targetfn</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>character(len=*), intent(in), optional ::</strong> <i class='arg'>mode</i><dd>
<dt><strong>logical, intent(in) , optional ::</strong> <i class='arg'>force</i><dd>
<dt><strong>logical, intent(in) , optional ::</strong> <i class='arg'>trimline</i><dd>
</dl>
Same as previous but with <i class='arg'>targetfn</i> as a character string.
<br><br>
<dt><a name="24"><strong>vfile_delete</strong> ( <i class='arg'>filename</i> ?, force? ?, status? )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>logical, intent(in) , optional ::</strong> <i class='arg'>force</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
</dl>
Removes the file or directory <i class='arg'>filename</i>.
Non-empty directories will be removed only if the <i class='arg'>force</i> option is specified.
If <i class='arg'>force</i> is supplied and true, forces to delete the directory, even if it is empty.
If <i class='arg'>force</i> is not supplied or supplied and false, the directory is not deleted if it is empty.
If <i class='arg'>status</i> is supplied, it contains 0 on success or nonzero error code
upon return.
<br><br>
<dt><a name="25"><strong>vfile_delete</strong> ( <i class='arg'>filename</i> ?, force? ?, status? )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>logical, intent(in) , optional ::</strong> <i class='arg'>force</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="26"><strong>vfile_isdirectory</strong> ( <i class='arg'>filename</i>) result ( isdirectory )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>logical ::</strong> <i class='arg'>isdirectory</i><dd>
</dl>
Returns .true. if file name is a directory, .false. otherwise.
<br><br>
<dt><a name="27"><strong>vfile_isdirectory</strong> ( <i class='arg'>filename</i>) result ( isdirectory )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>logical ::</strong> <i class='arg'>isdirectory</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="28"><strong>vfile_isfile</strong> ( <i class='arg'>filename</i>) result ( isfile )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>logical ::</strong> <i class='arg'>isfile</i><dd>
</dl>
Returns .true. if file name is a file, .false. otherwise.
<br><br>
<dt><a name="29"><strong>vfile_isfile</strong> ( <i class='arg'>filename</i>) result ( isfile )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>logical ::</strong> <i class='arg'>isfile</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="30"><strong>vfile_size</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_size )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>vfile_size</i><dd>
</dl>
Returns .true. if file name is a file, .false. otherwise.
Returns an integer giving the size of file name in bytes.
If the file doesn't exist or its size cannot be queried then an error is generated.
If <i class='arg'>status</i> is supplied, it contains 0 on success or nonzero error code
upon return.
<br><br>
<dt><a name="31"><strong>vfile_size</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_size )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>vfile_size</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="32"><strong>vfile_atime</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_atime )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>vfile_atime</i><dd>
</dl>
Returns an integer representing the time at which file name was last accessed.
If <i class='arg'>status</i> is supplied, it contains 0 on success or nonzero error code
upon return.
<br><br>
<dt><a name="33"><strong>vfile_atime</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_atime )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>vfile_atime</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="34"><strong>vfile_mtime</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_mtime )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>vfile_mtime</i><dd>
</dl>
Returns an integer representing the time at which file name was last modified.
If <i class='arg'>status</i> is supplied, it contains 0 on success or nonzero error code
upon return.
<br><br>
<dt><a name="35"><strong>vfile_mtime</strong> ( <i class='arg'>filename</i> ?, status?) result ( vfile_mtime )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>vfile_mtime</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="36"><strong>vfile_normalize</strong> ( <i class='arg'>filename</i> ) result ( vfile_normalize )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>vfile_normalize</i><dd>
</dl>
Returns a unique normalized path representation for the
file-system object (file, directory, link, etc), whose string
value can be used as a unique identifier for it. A normalized path
is an absolute path which has all '../', './' removed. Also it is one which
is in the ``standard'' format for the native platform.
On Windows or Mac, any platform-specific separator in the path
is replaced by the platform-independent separator "/".
On Windows it also means we want the long form with that form's
case-dependence (which gives us a unique, case-dependent path).
<br><br>
<dt><a name="37"><strong>vfile_normalize</strong> ( <i class='arg'>filename</i> ) result ( vfile_normalize )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>vfile_normalize</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="38"><strong>vfile_find</strong> ( ?basedir? ) result ( listOfFiles )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in), optional ::</strong> <i class='arg'>basedir</i><dd>
<dt><strong>type ( t_vstringlist ) ::</strong> <i class='arg'>listOfFiles</i><dd>
</dl>
An implementation of the unix command find.
Returns a list of files or directories which are located in the
given basedir directory, and, recursively, in all sub-directories.
Each file in the resulting list has a path relative to the given
basedir directory.
If <i class='arg'>basedir</i> is provided, this is the name of the base directory into which the search is done.
If <i class='arg'>basedir</i> is not provided, the current directory is used by default.
<br><br>
<dt><a name="39"><strong>vfile_find</strong> ( <i class='arg'>basedir</i> ) result ( listOfFiles )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>basedir</i><dd>
<dt><strong>type ( t_vstringlist ) ::</strong> <i class='arg'>listOfFiles</i><dd>
</dl>
Same as previous but with <i class='arg'>basedir</i> as a character string.
<br><br>
<dt><a name="40"><strong>vfile_find</strong> ( ?basedir? <i class='arg'>, filtercmd</i> ) result ( listOfFiles )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in), optional ::</strong> <i class='arg'>basedir</i><dd>
<dt><strong>type ( t_vstringlist ) ::</strong> <i class='arg'>listOfFiles</i><dd>
</dl>
<p><table><tr><td bgcolor=black> </td><td><pre class='sample'>
interface
function filtercmd ( filename ) result ( keepfile )
use m_vstring, only : t_vstring
type ( t_vstring ), intent(in) :: filename
logical :: keepfile
end function filtercmd
end interface</pre></td></tr></table></p>
An implementation of the unix command find.
Returns a list of files or directories which are located in the
given basedir directory, and, recursively, in all sub-directories.
Each file in the resulting list has a path relative to the given
basedir directory.
If <i class='arg'>basedir</i> is provided, this is the name of the base directory into which the search is done.
If <i class='arg'>basedir</i> is not provided, the current directory is used by default.
The <i class='arg'>filtercmd</i> command, if provided, is interpreted as a command prefix and
one argument is passed to it, the name of the file or directory find is currently
looking at. Note that this name is not fully qualified. It has to be joined it with
the result of pwd to get an absolute filename. The result of filtercmd is a boolean value
that indicates if the current file should be included in the list of interesting files.
<br><br>
<dt><a name="41"><strong>vfile_find</strong> ( <i class='arg'>basedir</i> <i class='arg'>, filtercmd</i> ) result ( listOfFiles )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>basedir</i><dd>
<dt><strong>type ( t_vstringlist ) ::</strong> <i class='arg'>listOfFiles</i><dd>
</dl>
<p><table><tr><td bgcolor=black> </td><td><pre class='sample'>
interface
function filtercmd ( filename ) result ( keepfile )
use m_vstring, only : t_vstring
type ( t_vstring ), intent(in) :: filename
logical :: keepfile
end function filtercmd
end interface</pre></td></tr></table></p>
Same as previous but with <i class='arg'>basedir</i> as a character string.
<br><br>
<dt><a name="42"><strong>vfile_findbypattern</strong> ( ?basedir? <i class='arg'>, pattern</i> ) result ( listOfFiles )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in), optional ::</strong> <i class='arg'>basedir</i><dd>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>pattern</i><dd>
<dt><strong>type ( t_vstringlist ) ::</strong> <i class='arg'>listOfFiles</i><dd>
</dl>
Returns a list of files which match the given pattern.
Internally, this command is based on vfile_find, with a particular filter command applied.
If <i class='arg'>basedir</i> is provided, this is the name of the base directory into which the search is done.
If <i class='arg'>basedir</i> is not provided, the current directory is used by default.
The <i class='arg'>pattern</i> is the pattern for the file names (like: *.f90) against which
each file name is compared. The method used for string matching
is vstring_match, so that all features available is vstring_match are
available in vfile_findbypattern.
<br><br>
<dt><a name="43"><strong>vfile_findbypattern</strong> ( ?basedir? <i class='arg'>, pattern</i> ) result ( listOfFiles )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in), optional ::</strong> <i class='arg'>basedir</i><dd>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>pattern</i><dd>
<dt><strong>type ( t_vstringlist ) ::</strong> <i class='arg'>listOfFiles</i><dd>
</dl>
Same as previous but with <i class='arg'>basedir</i> and <i class='arg'>pattern</i> as a character string.
<br><br>
<dt><a name="44"><strong>vfile_listfiles</strong> ( ?directory? ?, filetypes? ?, pattern? ?, tails?) result ( listOfFiles )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in), optional ::</strong> <i class='arg'>basedir</i><dd>
<dt><strong>type ( t_vstringlist ), intent(in), optional ::</strong> <i class='arg'>pattern</i><dd>
<dt><strong>type ( t_vstring ), intent(in), optional ::</strong> <i class='arg'>pattern</i><dd>
<dt><strong>logical, intent(in), optional ::</strong> <i class='arg'>tails</i><dd>
<dt><strong>type ( t_vstringlist ) ::</strong> <i class='arg'>listOfFiles</i><dd>
</dl>
Returns a list of files in one directory.
Only the file tails are in the list.
If <i class='arg'>directory</i> is provided, the directory into which the list is to be computed.
If <i class='arg'>directory</i> is not provided, the current directory is used and only the file names are file tails.
If <i class='arg'>directory</i> is provided, the computed files names are relative and begin with the given
directory (following the template directory/filetail).
If <i class='arg'>filetypes</i> is provided, only list files or directories which match filetypes,
with d (directory), f (plain file).
If <i class='arg'>filetypes</i> is not provided, the filetypes "d" , "f" list is used.
If <i class='arg'>pattern</i> is provided, only list files which match the given pattern.
If <i class='arg'>pattern</i> is not provided, the "*" pattern is used.
The vstring_match command is used to compare the file against the pattern so that
all the pattern types available in vstring_match are available in vfile_listfiles.
If <i class='arg'>tails</i> is provided and true, only return the part of each file found
which follows the last directory named in directory.
Thus the statement
<p><table><tr><td bgcolor=black> </td><td><pre class='sample'>
listoffiles = vfile_listfile ( tails = .true. , directory = directory , pattern = "*" )
</pre></td></tr></table></p>
is equivalent to
<p><table><tr><td bgcolor=black> </td><td><pre class='sample'>
call vfile_pwd ( cwd )
call vstrplatform_cd ( directory )
listoffiles = vfile_listfile ( tails = .true. , pattern = "*" )
call vstrplatform_cd ( cwd )
</pre></td></tr></table></p>
If <i class='arg'>tails</i> is provided and false, or not provided, the files are left as specified by the
directory argument.
<br><br>
<dt><a name="45"><strong>vfile_listfiles</strong> ( <i class='arg'>directory</i> ?, filetypes? ?, pattern? ?, tails?) result ( listOfFiles )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>basedir</i><dd>
<dt><strong>type ( t_vstringlist ), intent(in), optional ::</strong> <i class='arg'>pattern</i><dd>
<dt><strong>character(len=*), intent(in), optional ::</strong> <i class='arg'>pattern</i><dd>
<dt><strong>logical, intent(in), optional ::</strong> <i class='arg'>tails</i><dd>
<dt><strong>type ( t_vstringlist ) ::</strong> <i class='arg'>listOfFiles</i><dd>
</dl>
Same as previous but with <i class='arg'>directory</i> and <i class='arg'>pattern</i> as a character string.
<br><br>
<dt><a name="46"><strong>vfile_type</strong> ( <i class='arg'>filename</i> ?, status?) result ( filetype )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer , intent(out), optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>filetype</i><dd>
</dl>
Returns a string giving the type of file name, which will be one of "file" or "directory".
If <i class='arg'>status</i> is provided and the file type could be computed,
the status is set to 0.
If <i class='arg'>status</i> is provided and the file type could not be computed,
the status is set to VFILE_ERROR_UNKNOWN_FILE_TYPE.
If <i class='arg'>status</i> is not provided and the file type could not be computed,
an error is generated.
<br><br>
<dt><a name="47"><strong>vfile_type</strong> ( <i class='arg'>filename</i> ?, status?) result ( filetype )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer , intent(out), optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>filetype</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="48"><strong>vfile_split</strong> ( <i class='arg'>filename</i>) result ( listOfComponents )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstringlist ) ::</strong> <i class='arg'>listOfComponents</i><dd>
</dl>
Returns a list of strings where elements are the path components in name.
<br><br>
<dt><a name="49"><strong>vfile_split</strong> ( <i class='arg'>filename</i>) result ( listOfComponents )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>type ( t_vstringlist ) ::</strong> <i class='arg'>listOfComponents</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="50"><strong>vfile_touch</strong> ( <i class='arg'>filename</i> ?, status?)</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
</dl>
Implementation of touch. Alter the atime and mtime of the specified files.
If <i class='arg'>status</i> is supplied, it contains 0 on success or nonzero error code
upon return.
If <i class='arg'>status</i> is not provided and the process could not be done,
an error is generated.
<br><br>
<dt><a name="51"><strong>vfile_touch</strong> ( <i class='arg'>filename</i> ?, status?)</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="52"><strong>vfile_pathtype</strong> ( <i class='arg'>filename</i>) result ( pathtype )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>pathtype</i><dd>
</dl>
Returns one of VFILE_PATHTYPE_ABSOLUTE, VFILE_PATHTYPE_RELATIVE, VFILE_PATHTYPE_VOLUMERELATIVE.
If <i class='arg'>filename</i> refers to a specific file on a specific volume, the path
type will be absolute. If <i class='arg'>filename</i> refers to a file relative to the current
working directory, then the path type will be relative. If name refers to
a file relative to the current working directory on a specified volume, or to
a specific file on the current working volume, then the path type is volumerelative.
<br><br>
Examples :
<br><br>
<ul>
<li> "." is relative on all platforms
<br><br>
<li> ".." is relative on all platforms
<br><br>
<li> "/" is absolute on Linux/Unix
<br><br>
<li> "C:/" is absolute on Windows (if the C:/ exists)
<br><br>
<li> "/" is volumerelative on windows and refers to the current volume (for example C:/)
<br><br>
<li> "toto.txt" is relative on all platforms
<br><br>
<li> "./toto.txt" is relative on all platforms
</ul>
<dt><a name="53"><strong>vfile_pathtype</strong> ( <i class='arg'>filename</i>) result ( pathtype )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>pathtype</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="54"><strong>vfile_nativename</strong> ( <i class='arg'>filename</i>) result ( nativename )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>( t_vstring ) ::</strong> <i class='arg'>nativename</i><dd>
</dl>
Returns the platform-specific name of the file.
filename is useful if the filename is needed to pass to a platform-specific
call, such as the execution of a system command under Windows or
AppleScript on the Macintosh.
<br><br>
<dt><a name="55"><strong>vfile_nativename</strong> ( <i class='arg'>filename</i>) result ( nativename )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>( t_vstring ) ::</strong> <i class='arg'>nativename</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="56"><strong>vfile_mkdir</strong> ( <i class='arg'>filename</i> ?, status?)</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
</dl>
Create a directory.
If <i class='arg'>status</i> is supplied, it contains 0 on success or nonzero error code
upon return.
If <i class='arg'>status</i> is not provided and the process could not be done,
an error is generated.
<br><br>
<dt><a name="57"><strong>vfile_mkdir</strong> ( <i class='arg'>filename</i> ?, status?)</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>status</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
<br><br>
<dt><a name="58"><strong>vfile_open</strong> ( <i class='arg'>filename</i> ?, fileunit? ?, iostat? ?, status? ?, access? ?, form? ?, recl? ?, blank? ?, position? ?, action? ?, delim? ?, pad?) result ( fileunit_real )</a><dd>
<dl>
<dt><strong>type ( t_vstring ), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>fileunit</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>action</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>access</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>form</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>blank</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>position</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>delim</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>pad</i><dd>
<dt><strong>integer , intent(in) , optional ::</strong> <i class='arg'>recl</i><dd>
<dt><strong>integer , intent(out) , optional ::</strong> <i class='arg'>iostat</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>fileunit_real</i><dd>
</dl>
Open a file and returns the unit associated with the opened file.
The command is based on fortran intrinsic "open".
If the optional argument fileunit is provided, it is used to
open the file.
If not provided, a file unit is automatically computed
on the base of currently free logical units.
<br><br>
Note:
<br><br>
All the options of the intrinsic "open" are provided
with the same behaviour and default values, with some exceptions.
<br><br>
<ul>
<li> The file name is mandatory in vfile_open,
even if the "file=" specifier is not mandatory in fortran "open".
This behaviour allows the fortran to manage a status="scratch"
specifier, which provides a way to manage for temporary
files internally. Instead, the m_vfile component provides the
vfile_tempfile service.
<br><br>
<li> The "err=" option with an error label as argument is not
provided. The client code may use the iostat option instead.
</ul>
<dt><a name="59"><strong>vfile_open</strong> ( <i class='arg'>filename</i> ?, fileunit? ?, iostat? ?, status? ?, access? ?, form? ?, recl? ?, blank? ?, position? ?, action? ?, delim? ?, pad?) result ( fileunit_real )</a><dd>
<dl>
<dt><strong>character(len=*), intent(in) ::</strong> <i class='arg'>filename</i><dd>
<dt><strong>integer, intent(out) , optional ::</strong> <i class='arg'>fileunit</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>action</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>status</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>access</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>form</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>blank</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>position</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>delim</i><dd>
<dt><strong>character(len=*) , intent(in) , optional ::</strong> <i class='arg'>pad</i><dd>
<dt><strong>integer , intent(in) , optional ::</strong> <i class='arg'>recl</i><dd>
<dt><strong>integer , intent(out) , optional ::</strong> <i class='arg'>iostat</i><dd>
<dt><strong>integer ::</strong> <i class='arg'>fileunit_real</i><dd>
</dl>
Same as previous but with <i class='arg'>filename</i> as a character string.
</dl>
<h2><a name="static_methods">STATIC METHODS</a></h2>
<p>
<dl>
<dt><a name="60"><strong>vfile_startup</strong> ()</a><dd>
Initialize module internal state.
This routine must be called once before calling any method of the module.
<br><br>
<dt><a name="61"><strong>vfile_shutdown</strong> ()</a><dd>
Shutdown module internal state.
<br><br>
<dt><a name="62"><strong>vfile_set_stoponerror</strong> ( <i class='arg'>stoponerror</i> )</a><dd>
<dl>
<dt><strong>logical , intent(in) ::</strong> <i class='arg'>stoponerror</i><dd>
</dl>
Configure the behaviour of the component whenever an
error is met.
If <i class='arg'>stoponerror</i> is true, then the execution stops if an error is encountered.
If <i class='arg'>stoponerror</i> is false, then the execution continues if an error is encountered.
In both cases, a message is displayed on standard output.
<br><br>
<dt><a name="63"><strong>vfile_tempdir</strong> () result ( tempdir )</a><dd>
<dl>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>tempdir</i><dd>
</dl>
Returns the temporary directory for the current platform.
The command returns the path of a directory where the caller can
place temporary files, such as "/tmp" on Unix systems.
The algorithm we use to find the correct directory is as follows:
<br><br>
<ol>
<li> The directory named in the TMPDIR environment variable.
<br><br>
<li> The directory named in the TEMP environment variable.
<br><br>
<li> The directory named in the TMP environment variable.
<br><br>
<li> A platform specific location:
<br><br>
<ul>
<li> Windows
"C:\TEMP", "C:\TMP", "\TEMP", and "\TMP" are tried in that order.
(classic) Macintosh
The TRASH_FOLDER environment variable is used. filename is most likely not correct.
<br><br>
<li> Unix
The directories "/tmp", "/var/tmp", and "/usr/tmp" are tried in that order.
</ul>
</ol>
<dt><a name="64"><strong>vfile_tempfile</strong> result ( tempfile )</a><dd>
<dl>
<dt><strong>type ( t_vstring ) ::</strong> <i class='arg'>tempfile</i><dd>
</dl>
Returns the name of a temporary file name suitable for writing to.
The <i class='arg'>tempfile</i> name is unique, and the file will be writable and
contained in the appropriate system specific temp directory.
<br><br>
<dt><a name="65"><strong>vfile_volumes</strong> result ( listofvolumes )</a><dd>
<dl>
<dt><strong>type ( t_vstringlist ) ::</strong> <i class='arg'>listofvolumes</i><dd>
</dl>
Returns the absolute paths to the volumes mounted on the
system, as a proper string list.
On UNIX, the command will always return "/", since all filesystems are
locally mounted.
On Windows, it will return a list of the available
local drives (e.g. {a:/ c:/}).
<br><br>
Note:
<br><br>
With Intel Fortran, the portability routines provide the "GETDRIVESQQ" function,
which returns the list of current drive as a 26 letters string.
</dl>
<h2><a name="copyright">COPYRIGHT</a></h2>
<p>
Copyright © 2008 Michael Baudin [email protected]<br>
Copyright © 2008 Arjen Markus [email protected]<br>
</body></html>
|
mapmeld/fortran-machine
|
flibs-0.9/flibs/site/m_vfile.html
|
HTML
|
bsd-3-clause
| 63,812
|
<!--
Copyright 2014 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<link rel="import" href="../ct-view.html">
<script>
(function () {
var assert = chai.assert;
describe('ct-view', function() {
var view;
beforeEach(function() {
view = document.createElement('ct-view');
view.appendChild(document.createElement('div'));
});
it('should match path', function(done) {
view.path = "/test/path";
setTimeout(function() {
var div = view.showView("/test/path");
assert.ok(div);
assert(!div.hidden);
done();
});
});
it('should not match incorrect path', function(done) {
view.path = "/other/path";
setTimeout(function() {
var div = view.showView("/test/path");
assert.notOk(div);
done();
});
});
it('should assign variables to child', function(done) {
view.path = "/{var1}/test/{var2}";
setTimeout(function() {
var div = view.showView("/value1/test/value2");
assert.ok(div);
assert.equal(div.getAttribute('var1'), 'value1');
assert.equal(div.getAttribute('var2'), 'value2');
done();
});
});
});
})();
</script>
|
smilusingjavascript/blink
|
Tools/GardeningServer/ui/test/ct-view-tests.html
|
HTML
|
bsd-3-clause
| 1,245
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PMDK C++ bindings: Class Members - Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">PMDK C++ bindings
 <span id="projectnumber">1.6.1</span>
</div>
<div id="projectbrief">This is the C++ bindings documentation for PMDK's libpmemobj.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="contents">
 
<h3><a id="index_l"></a>- l -</h3><ul>
<li>length()
: <a class="el" href="classpmem_1_1obj_1_1experimental_1_1basic__string.html#ae7a0cf5046e565668645ce41bf8cefe3">pmem::obj::experimental::basic_string< CharT, Traits ></a>
</li>
<li>lock()
: <a class="el" href="classpmem_1_1obj_1_1mutex.html#a9ab48609b752c0b963f3ad2bacd50c86">pmem::obj::mutex</a>
, <a class="el" href="classpmem_1_1obj_1_1shared__mutex.html#aef1d143b637eec7e679d420e98a2f458">pmem::obj::shared_mutex</a>
, <a class="el" href="classpmem_1_1obj_1_1timed__mutex.html#a17f544211bcf905cd600295e4e47b757">pmem::obj::timed_mutex</a>
</li>
<li>lock_shared()
: <a class="el" href="classpmem_1_1obj_1_1shared__mutex.html#a016982730a6f61cd2acf53af986cdf03">pmem::obj::shared_mutex</a>
</li>
<li>lock_type()
: <a class="el" href="classpmem_1_1obj_1_1mutex.html#a4357943ecf5ce2745d517c1fe6f79136">pmem::obj::mutex</a>
, <a class="el" href="classpmem_1_1obj_1_1shared__mutex.html#a8e6044b942aa5f80070d26b699ef37cb">pmem::obj::shared_mutex</a>
</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
|
pbalcer/pbalcer.github.io
|
content/libpmemobj-cpp/v1.6/doxygen/functions_func_l.html
|
HTML
|
bsd-3-clause
| 3,927
|
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 2,806