diff --git a/src/@graph/graph.m b/src/@graph/graph.m index 4fd6dc9e52583fa4a40a9ea60f7e72ad104f620e..01e163b0c3f7b3da3aa5732e34fe2d024b6e4daf 100644 --- a/src/@graph/graph.m +++ b/src/@graph/graph.m @@ -205,7 +205,7 @@ classdef graph < handle o.data = ''; end end - methods (Access = ?section, Hidden = true) + methods (Hidden = true) o = addSeries(o, varargin) write(o, fid, pg, sec, row, col, rep_dir) end diff --git a/src/@page/page.m b/src/@page/page.m index 9a7910cede8cb869ed2808399c8743e2f990f51a..0620c0a54e98adcb433227243b3cf90c2e5b7f48 100644 --- a/src/@page/page.m +++ b/src/@page/page.m @@ -33,7 +33,7 @@ classdef page < handle pageDirName = 'tmpRepDir' % The name of the folder in which to store this page. Only used when the latex command is passed. Default: tmpRepDir. latex = '' % The valid LATEX code to be used for this page. Alows the user to create a page to be included in the report by passing LATEX code directly. Default: empty. end - methods (Access = ?report) + methods function o = page(varargin) %function o = page(varargin) % Page Class Constructor @@ -113,7 +113,7 @@ classdef page < handle '@page.page: sections is not a valid option'); end end - methods (Access = ?report, Hidden = true) + methods (Hidden = true) o = addSection(o, varargin) o = addVspace(o, varargin) o = addTable(o, varargin) diff --git a/src/@paragraph/paragraph.m b/src/@paragraph/paragraph.m index 9220133de4ae195c7924a3cdabab557193270370..e036ef5daec393620fde1ab223d15e6f514b467f 100644 --- a/src/@paragraph/paragraph.m +++ b/src/@paragraph/paragraph.m @@ -75,7 +75,7 @@ classdef paragraph < handle assert(ischar(o.heading), '@paragraph.paragraph: heading must be a string'); end end - methods (Access = ?section, Hidden = true) + methods (Hidden = true) % Methods defined in separate files write(o, fid); end diff --git a/src/@report_data/report_data.m b/src/@report_data/report_data.m index af0e3d8df6f4844ac818127098a2c254d3e84f2c..043de46a0c98588557e5d5167c04bfcc1c78ac0d 100644 --- a/src/@report_data/report_data.m +++ b/src/@report_data/report_data.m @@ -71,7 +71,7 @@ classdef report_data < handle end end end - methods (Access = ?report_table, Hidden = true) + methods (Hidden = true) writeDataForTable(o, fid, precision) end end diff --git a/src/@report_series/report_series.m b/src/@report_series/report_series.m index ff9375627cd4f4a1220b21d83fe6f4cf6994813a..35454d60d81c634bb3f23cde6d6883f836aeb620 100644 --- a/src/@report_series/report_series.m +++ b/src/@report_series/report_series.m @@ -98,14 +98,14 @@ classdef report_series < handle end end end - methods (Access = ?graph, Hidden = true) + methods (Hidden = true) s = getNameForLegend(o) writeSeriesForGraph(o, fid, xrange, series_num) end - methods (Access = ?report_table, Hidden = true) + methods (Hidden = true) writeSeriesForTable(o, fid, dates, precision, ncols, rowcolor) end - methods (Access = {?graph,?report_table}, Hidden = true) + methods (Hidden = true) tf = isZero(o) end methods (Access = private) diff --git a/src/@report_table/report_table.m b/src/@report_table/report_table.m index 4b8fa17994a6565a4fbb391b5df24f337928a5d1..5f8d36a6c5f0753a3740bce7879e71b1ae5fc2ad 100644 --- a/src/@report_table/report_table.m +++ b/src/@report_table/report_table.m @@ -44,7 +44,7 @@ classdef report_table < handle writeCSV = false % Whether or not to write a CSV file containing the data displayed in the table. The file will be saved in the directory specified by tableDirName with the same base name as specified by tableName with the ending .csv. Default: false. highlightRows = {''} % A cell array containing the colors to use for row highlighting. See shadeColor for how to use colors with reports. Highlighting for a specific row can be overridden by using the tableRowColor option to addSeries. Default: empty. end - methods (Access = ?section) + methods function o = report_table(varargin) %function o = report_table(varargin) % Report_Table Class Constructor @@ -150,7 +150,7 @@ classdef report_table < handle o.seriesToUse = ''; end end - methods (Access = ?section, Hidden = true) + methods (Hidden = true) o = addData(o, varargin) o = addSeries(o, varargin) write(o, fid, pg, sec, row, col, rep_dir) diff --git a/src/@section/section.m b/src/@section/section.m index 10edefba33bd39361709935e98da3ca44d59df4b..ea29782ec3d432721ef2cab96a4ac558cd63f459 100644 --- a/src/@section/section.m +++ b/src/@section/section.m @@ -24,7 +24,7 @@ classdef section < handle cols = 1 % The number of columns in the section. Default: 1. height = '' % A string to be used with the \sectionheight LATEX command. Default: '!' end - methods (Access = ?page) + methods function o = section(varargin) %function o = section(varargin) % Section Class Constructor @@ -74,7 +74,7 @@ classdef section < handle '@section.section: cols must be a string'); end end - methods (Access = ?page, Hidden = true) + methods (Hidden = true) o = addGraph(o, varargin) o = addParagraph(o, varargin) o = addTable(o, varargin) diff --git a/src/@vspace/vspace.m b/src/@vspace/vspace.m index 375e1e167df2336331cf891c5a31a6a9a1113d30..74dc9575e1d38521c01224a7f766136c0fceb118 100644 --- a/src/@vspace/vspace.m +++ b/src/@vspace/vspace.m @@ -21,7 +21,7 @@ classdef vspace < handle hline = 0 % Number of horizontal lines to be inserted. Default 0 number = 1 % Number of new lines to be inserted. Default 1 end - methods (Access = ?section) + methods function o = vspace(varargin) %function o = vspace(varargin) % Vspace Class Constructor @@ -70,7 +70,7 @@ classdef vspace < handle assert(isint(o.hline), '@vspace.vspace: hline must be an integer'); end end - methods (Access = ?section, Hidden = true) + methods (Hidden = true) % Methods defined in separate files write(o, fid); end